state InActive { Conditions { if Message "DarkRoom" == 1 goto Activate } Actions { } } state Activate { Conditions { } Actions { Activate ;Activate starts the creature. Will be started at position calculated in AllocatedPickup } } state Base { Conditions { } Actions { CanShootOffScreen KeepWeaponOut BreakFormation SetState "Approach" } } state Approach { Conditions { if GotOpponent == 1 goto Fight } Actions { CannotBeSeen "FALSE" FollowPlayer } } state Fight { Conditions { if GotOpponent == 0 goto Approach } Actions { EngageOpponent "goalrange 1.5" "firerange 3" } }