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