Date: 2016/01/16 07:40:32 UTC-08:00
Type: Denizen Script
Walk:
type: task
debug: false
script:
- flag <npc> walkQueue:<queue>
- while <npc.has_flag[walk]> {
- define point:<npc.anchor.list.random>
- flag <npc> anchorPoint:<def[point]>
- ~walk <npc.anchor[<def[point]>]> auto_range
- define waitTime <util.random.int[<npc.flag[pauseMin]>].to[<npc.flag[pauseMax]>]>
- wait <def[waitTime]>
}