; Script for team 6 (PalaceGuard), map Hellfire4 startstate Default ; ---------------------------------------------- States state FoundEnemy { AIFunction RepelAttack TriggerProcessor GoNamedState NextState Default FoundEnemyFunction RepelAttack } state FoundEnemy2 { AIFunction RepelAttack TriggerProcessor GoNamedState NextState AttackPlayerBase FoundEnemyFunction RepelAttack } state Default { AIState Defensive TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy WaypointPath PalaceGuard1 WalkPost1 loop WaypointPath PalaceGuard2 WalkPost2 loop WaypointPath PalaceGuard3 WalkPost3 loop WaypointPath PalaceGuard4 WalkPost4 loop WaypointPath PalaceGuard5 WalkPost1 loop WaypointPath PalaceGuard6 WalkPost2 loop } state FlankBFG { AIFunction Defensive Passive PalaceGuard1 PalaceGuard2 PalaceGuard3 PalaceGuard4 PalaceGuard5 PalaceGuard6 NextState AttackBFG TriggerProcessor GoNamedState GroupsWatchingEnemy None GroupsHelpingRepelEnemy None WaypointPath PalaceGuard1 FlankBFG noloop WaypointPath PalaceGuard2 FlankBFGSouth noloop WaypointPath PalaceGuard3 FlankBFGNorth noloop WaypointPath PalaceGuard4 FlankBFG noloop WaypointPath PalaceGuard5 FlankBFGSouth noloop WaypointPath PalaceGuard6 FlankBFGNorth noloop } state AttackBFG { AIState Defensive Defensive PalaceGuard1 PalaceGuard2 PalaceGuard3 PalaceGuard4 PalaceGuard5 PalaceGuard6 NextState Default TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy GroupsWatchingEnemy None GroupsHelpingRepelEnemy None WaypointPath PalaceGuard1 AttackBFG noloop WaypointPath PalaceGuard2 AttackBFGSouth noloop WaypointPath PalaceGuard3 AttackBFGNorth noloop WaypointPath PalaceGuard4 AttackBFG noloop WaypointPath PalaceGuard5 AttackBFGSouth noloop WaypointPath PalaceGuard6 AttackBFGNorth noloop } state AttackPlayerBase { AIState Defensive Defensive PalaceGuard1 PalaceGuard2 PalaceGuard3 PalaceGuard4 PalaceGuard5 PalaceGuard6 NextState AttackPlayerBase TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy2 WaypointPath PalaceGuard1 AttackPlayerBase loop WaypointPath PalaceGuard2 AttackPlayerBase loop WaypointPath PalaceGuard3 AttackPlayerBase loop WaypointPath PalaceGuard4 AttackPlayerBase loop WaypointPath PalaceGuard5 AttackPlayerBase loop WaypointPath PalaceGuard6 AttackPlayerBase loop } state Retreat { AIFunction Defensive Passive PalaceGuard1 PalaceGuard2 PalaceGuard3 PalaceGuard4 PalaceGuard5 PalaceGuard6 NextState Retreat TriggerProcessor GoNamedState GroupsWatchingEnemy None WaypointPath PalaceGuard1 Retreat noloop WaypointPath PalaceGuard2 Retreat noloop WaypointPath PalaceGuard3 Retreat noloop WaypointPath PalaceGuard4 Retreat noloop WaypointPath PalaceGuard5 Retreat noloop WaypointPath PalaceGuard6 Retreat noloop } ; ---------------------------------------------- paths ; ------------- Retreat Path Retreat { -51.614 54.623 214.567 } ; ------------- Assault Path FlankBFG { 57 60 176 } Path FlankBFSouth { 48 65 156 } Path FlankBFGNorth { 33 53 257 8 54 240 } Path AttackBFG { 57 60 176 } Path AttackBFGSouth { -33 55 192 26 61 180 57 60 176 } Path AttackBFGNorth { -8 61 246 8 54 240 57 60 176 } Path AttackPlayerBase { -133 33 -257 -190 39 -229 -151 36 -207 -133 33 -257 } ; ---------------------------------------------- BuildLists