How do you make a gamewide switch?

Started by Moox, Sun 01/02/2004 20:34:12

Previous topic - Next topic

Moox

I want it so if you click an item in one room, every room changes

Ishmael

Setting a globalint with SetGlobalInt, and checking it's value in every room in the player enters screen (before fadein) with if (GetGlobalItn(...)...)
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Moox

so i would set the int when clicked, and in every room check if its set.

That brings up a new question, how do i make it make an object visible if it is checked

so far i have this

 // script for room: Player enters screen (before fadein)
 if (GetGlobalItn(1)

Moox


SMF spam blocked by CleanTalk