Date: 2014/09/06 15:42:44 UTC-07:00
Type: Denizen Script
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