; Plaguespitter1 Script ; Script for Team 4: PS East Skirmishers startstate Begin state Begin { AIFunction Defensive Defensive Lookouts Aggressive Ambushers TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState 1stEncounter GroupsWatchingEnemy Lookouts GroupsHelpingRepelEnemy Null } ; STATES FOR GROUP 1 and 2 --------------------------------------------------- state 1stEncounter { AIFunction RepelAttack TriggerProcessor GoNamedState NextState RunOnce FoundEnemyFunction RepelAttack } state RunOnce { AIFunction Defensive Passive Lookouts Aggressive Ambushers TriggerProcessor GoNamedState GroupsWatchingEnemy Aggressors GroupsHelpingRepelEnemy NUll WaypointPath Lookouts ToFirstStop noloop } state Attack { AIFunction Defensive Aggressive Lookouts Aggressive Ambushers TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FinalEncounter GroupsWatchingEnemy Aggressors Lookouts GroupsHelpingRepelEnemy NUll WaypointPath Lookouts ToFirstStop noloop } state FinalEncounter { AIFunction RepelAttack TriggerProcessor GoNamedState NextState RunHome FoundEnemyFunction RepelAttack } state RunHome { AIFunction Defensive Passive Lookouts Aggressive Ambushers TriggerProcessor GoNamedState GroupsWatchingEnemy Aggressors GroupsHelpingRepelEnemy NUll WaypointPath Lookouts ToHome noloop } state FinalStand { AIFunction Defensive Aggressive Ambushers Lookouts TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy GroupsWatchingEnemy Aggressors Lookouts GroupsHelpingRepelEnemy NUll WaypointPath Lookouts ToHome noloop } state FoundEnemy { AIFunction RepelAttack TriggerProcessor GoNamedState NextState FinalStand FoundEnemyFunction RepelAttack } ; PATHS FOR ALL GROUPS HERE -------------------------------------------- Path ToFirstStop { -166.555 4.980 15.939 } Path ToHome { -169.298 16.071 132.262 }