User Tools

Site Tools


hpl2:tutorials:script:adding_messages_to_locked_doors

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
hpl2:tutorials:script:adding_messages_to_locked_doors [2012/03/15 11:04]
claypigeon [The script]
hpl2:tutorials:script:adding_messages_to_locked_doors [2012/04/01 16:40]
claypigeon [The door]
Line 17: Line 17:
  
  
-<Entry Name ="​msgname">​TYPE MESSAGE HERE</​Entry> ​                        ​+<Entry Name ="​msgname">​TYPE MESSAGE HERE</​Entry>​
  
  
Line 29: Line 29:
  
  
-The door+====== ​The door ======
  
  
Line 46: Line 46:
 If you want the message to show only once, tick the PlayerInteractCallbackAutoRemove box. If you want the message to show only once, tick the PlayerInteractCallbackAutoRemove box.
  
 +
 +Under General tab, name the door to whatever you want.
 +
 +
 +I'll call it "​EXAMPLE_DOOR"​.
 +
 +
 +[[{{http://​i.minus.com/​jpUd9nK0ok06o.png?​direct&​}}]]
  
 ====== The script ====== ====== The script ======
Line 68: Line 76:
  
  
-void DoorLockedPlayer - this is the function that is called when the player interacts with the door+void DoorLockedPlayer - this is the function that is called when the player interacts with the door (the one you've set in your level editor!)
  
  
hpl2/tutorials/script/adding_messages_to_locked_doors.txt ยท Last modified: 2014/07/04 11:21 by romulator