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