Help with a room.

Started by kenny, Sun 09/11/2003 20:49:52

Previous topic - Next topic

kenny

I want to make a room where a pad with numbers is showed and you must put a combination of numbers in order to open de door. How can i do this?

squinks

Have hotspots on the buttons, set up with anyclick or interact with and then run script

on the first one put:

if (button==0){
PlaySound (");
//Do stuff
button=1;
}
else {
Display ("thats not right");
}

then on the second make sure the button ==1 and so on....
Make sure to declare the int button at the very start of the room script like this

int button;

That should work, seems to simple though....maybe I'm missing something...

Ishmael

See teh demo game... see it throuhg big time...
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.

SMF spam blocked by CleanTalk