Paste #23098: Untitled Paste

Date: 2015/11/28 08:34:02 UTC-08: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
18
19
20
21


greeter_path:
  type: task
  definitions: masternpc
  script:
      - ^flag <npc> startlocation:<npc.location>
      - ^flag <npc> step:1
      - ~walk <def[masternpc].anchor[tourstop1]> auto_range
      - ^inject greeter_waits
      - ^flag <npc> step:2
      - ~walk <def[masternpc].anchor[tourstop2]> auto_range
      - ^inject greeter_waits
      - ^flag <npc> step:3
      - ~walk <def[masternpc].anchor[tourstop3]> auto_range
      - ^inject greeter_waits
      - wait 1
 #Now we want the NPC to walk back to the start location
 # -wait 2
      - ~walk <def[masternpc].flag[startlocation]> auto_range
      - remove <npc>
      - adjust <player> show_entity:<def[masternpc]>
      - zap 1 script:greet_em