#PARAM 1 shootrange 1.5 #PARAM 2 engagedist 1.5 PARAM 0 visibility 20 PARAM 1 shootrange 3.5 PARAM 2 engagedist 2.0 #--------------------------------------------- # Start state #--------------------------------------------- state Base { Conditions { if LevelValue "Wand" != 0 goto EnableCharacter } Actions { Disable SetHitPoints "default 3" IgnoreWallSplines CheckWallSplines NoAttack NoLosCheck Respawnable "origin" } } #--------------------------------------------- # Enables the character #--------------------------------------------- state EnableCharacter { Conditions { if LevelValue "Wand" != 1 goto Base } Actions { DontPush Enable SetState "GotoWander" } } state GotoWander { Conditions { if LevelValue "Wand" != 1 goto Base } Actions { GotoNode "WolfTarget" "Run" SnapToLocator "name" "Wander" SetState "GotoWander" } }