Date: 2015/09/07 07:58:41 UTC-07:00
Type: Denizen Script
Zombie_Warrior:
Type: Assignment
Actions:
on assignment:
- trigger name:Proximity state:true radius:5
- anchor add <npc.location> id:Waypoint
- adjust <npc> set_entity_type:Zombie
- adjust <npc> speed:2
- vulnerable
interact scripts:
- 10 movement
movement:
type: interact
steps:
1:
proximity trigger:
move:
script:
- ^while <npc.location.distance[<player.location>].is[or_less].than[5]>{
- ^attack <npc> target:<player>}
exit:
script:
- ^anchor walkto id:Waypoint