Paste #3305: Untitled Paste

Date: 2014/04/08 20:24:29 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17


assignwalkandshoot:
  type: assignment
  actions:
    on assignment:
    - trigger name:proximity state:true
  interact scripts:
  - 10 walkandfight
walkandshoot:
  type: interact
  steps:
    1:
      proximity trigger:
        move:
          script:
          - shoot arrow origin:<npc.location> destination:<player.location>
          - look <player.location.add[0,1,0]>
          - flag <npc> targets:->:<player>