Godleydemon

cityguard

Jan 6th, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.69 KB | None | 0 0
  1. City Guard:
  2.     type: assignment
  3.     interact scripts:
  4.    - 1 Guard Attack
  5.  
  6. Guard Attack:
  7.     type: interact
  8.     steps:
  9.         1:
  10.             click trigger:
  11.                 script:
  12.                - CHAT "Hey there, buddy! Behol' my almighty strength"
  13.                 - LOOK location:<cons:Arrow_Loc>
  14.                - WAIT 1
  15.                 - NARRATE "<npc.name> draws back his bow..."
  16.                 - WAIT 1
  17.                 - CHAT "Wait for it, I'm almost there!"
  18.                 - WAIT 3
  19.                 - SHOOT arrow origin:<npc> speed:1
  20.  
  21. Explode:
  22.     type: world
  23.     events:
  24.         on ARROW hits block:
  25.        - if <context.shooter> = n@1 explode power:2 <context.location>
Advertisement
Add Comment
Please, Sign In to add comment