Paste #9387: Untitled Paste

Date: 2014/09/06 15:42:44 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9


walkNshoot:
  - ^flag npc queue:<queue.id>
  - ^if <npc.location> == null queue clear
  - ~walkto <npc> <s@config.constant[ZombieWalkto]>
  - define random1 <util.random.int[-3].to[3]>
  - define random2 <util.random.int[-3].to[3]>
  - ^shoot <npc> o:<npc> d:<s@config.constant[ZombieShootBack].add[%random2%,0,%random1%]> speed:2
  - ^wait 3s
  - ^inject locally walkNshoot