Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(i > 1)
- {
- m64c_door_trigger[i] setHintString("You need to activate this door");
- level waittill("door"+i+"_active");
- if(level.debug["key_pickup"])
- iPrintLn("Door Active");
- if(level.keyfound[i] == false)
- {
- m64c_door_trigger[i] setHintString("You need the key to unlock this door");
- level waittill("key"+i+"_found");
- }else
- {
- m64c_door_trigger[i] setHintString("Press and hold &&1 to open the door");
- }
- m64c_door_trigger[i] setHintString("Press and hold &&1 to open the door");
- m64c_door_trigger[i] waittill("trigger", player);
- m64c_door_trigger[i] setHintString("");
- if(level.debug["key_pickup"])
- iPrintLn("Door triggered");
- m64c_door[i] moveZ(-144, 2);
- m64c_door[i] waittill ("movedone");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement