Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: flocking on Thu 10/03/2005 11:19:15

Title: Objects innitially not visible [SOLVED]
Post by: flocking on Thu 10/03/2005 11:19:15
What i want to do is have a Note tapped to the back of a bed which is not visable unless the player clicks on the head board.
At the moment though the note is not visable, but when the player clicks on the headboard (in the area the note is,) nothing happens.
Ive been trying to make this happen by;
Unclicking "Object is initially visible"
Then in the interaction editor "Interact ovject - object - switch object back on."
I'm using the right object number, so must be trying to switch it back on wrong ?
Title: Re: Objects innitially not visible
Post by: aussie on Thu 10/03/2005 11:46:29
It might be an issue with the object baseline. Is that head pannel a walk-behind area?
Title: Re: Objects innitially not visible
Post by: flocking on Thu 10/03/2005 12:03:55
Nope, headboard is not a walk behind....
Title: Re: Objects innitially not visible
Post by: Ashen on Thu 10/03/2005 12:07:48
Also, when you say:
QuoteThen in the interaction editor "Interact ovject - object - switch object back on."
Which object are you interacting with? If the headboard is an object, then it could still be an issue with baselines. However if it's an interaction for the note object, then it won't run while the note isn't visible.
Title: Re: Objects innitially not visible
Post by: aussie on Thu 10/03/2005 12:09:45
Quote
Then in the interaction editor "Interact ovject - object - switch object back on."

If the object is off, you'll never be able to interact with it. Hence the sequence you describe does not take place.

Make your panel a hotspot. Then use interact with hotspot instead of interact with object.

"Interact hotspot - switch object back on."
Title: Re: Objects innitially not visible
Post by: flocking on Thu 10/03/2005 12:15:58
Ahhhhhh, i see the light......Have made my headboard a hotspot as suggested and all works now. Thank you both!