Object visible in global script

Started by jayfactor, Mon 31/08/2009 18:56:33

Previous topic - Next topic

jayfactor

I just can't seem to figure out how do I turn object in one of my rooms visible at my global script.
Thank you so much for answers.

Khris

If the object is in the current room, you can use the object[] array:

Code: ags
  if (player.Room == 3) object[2].Visible;


If it is in another room, use a variable, then turn the object visible in the room's before fadein event.

SMF spam blocked by CleanTalk