Date: 2015/11/28 08:34:02 UTC-08:00
Type: Denizen Script
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