Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.74 KB | None | 0 0
  1. if(i > 1)
  2.     {
  3.         m64c_door_trigger[i] setHintString("You need to activate this door");
  4.         level waittill("door"+i+"_active");
  5.         if(level.debug["key_pickup"])
  6.             iPrintLn("Door Active");
  7.         if(level.keyfound[i] == false)
  8.         {
  9.             m64c_door_trigger[i] setHintString("You need the key to unlock this door");
  10.             level waittill("key"+i+"_found");
  11.         }else
  12.         {
  13.             m64c_door_trigger[i] setHintString("Press and hold &&1 to open the door");
  14.         }
  15.         m64c_door_trigger[i] setHintString("Press and hold &&1 to open the door");
  16.         m64c_door_trigger[i] waittill("trigger", player);
  17.         m64c_door_trigger[i] setHintString("");
  18.         if(level.debug["key_pickup"])
  19.             iPrintLn("Door triggered");
  20.         m64c_door[i] moveZ(-144, 2);
  21.         m64c_door[i] waittill ("movedone");
  22.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement