Does anybody know how you remove a object from another room than you are in? Like, if you are in room 13, and then you press a button or whatever, then object 0 in room 15 will be removed.
Thanks,
-Adrian
You could do such a thing using global integers.
Define in the global script:
SetGlobalInt(80,0); // indicator for button pressed (0: not pressed, 1 pressed)
In room 14:
if (some action, press button e.g.) SetGlobalInt(80,1);
In room 15: (where you want the action to take place)
(Before player enters room)
if (GetGlobalInt(80) == 1) ObjectOff(0);
Hope this helps,
Martijn
in room 13 when you press the button
SetGlobalInt(10,1);
then in room 15 before fade in
if (GetGlobalInt(10)==1) {
ObjectOff(0);
}
Edit:yep that too
Thanks, i think that will do. :)