Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: frenchy_117 on Thu 01/05/2003 14:49:33

Title: how can i make obgects appear after...
Post by: frenchy_117 on Thu 01/05/2003 14:49:33
How can i make objects appear when my main character changes veiws ???
Title: Re:how can i make obgects appear after...
Post by: scotch on Thu 01/05/2003 15:10:04
Well, making objects appear and dissapear is done with ObjectOn(int object); and
ObjectOff(int object);
You can do that anytime.. if you change the view with SetCharacterView(int char, int view); just add ObjectOn(int object); after it to make an object appear..
Title: Re:how can i make obgects appear after...
Post by: frenchy_117 on Sat 03/05/2003 23:18:30
but my obgects are in other rooms ???
Title: Re:how can i make obgects appear after...
Post by: Andail on Sun 04/05/2003 00:15:37
Frenchy, the whole point with objects is that you import them to a certain room.
What difference does it make if they are turned on and off in another room?

If you want a specific object to be turned off or on when the character enters a room, just put the functions Scotch suggested in the "player enters room" trigger
Title: Re:how can i make obgects appear after...
Post by: frenchy_117 on Sun 04/05/2003 04:13:36
thanks
Title: Re:how can i make obgects appear after...
Post by: Enlaithion on Sun 04/05/2003 18:45:08
Did you get it to work like you want?