; Machine5 Script ; Script for Team 7: Nighthorde Instigators startstate Build state Build { AIFunction Defensive Defensive Instigators Build Instigators NH Maintain Instigroup 6 6 1 TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy GroupsWatchingEnemy Instigators GroupsHelpingRepelEnemy Instigators WaypointPath Instigators BuildUp noloop } state Defend { AIFunction Defensive Defensive Instigators TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy GroupsWatchingEnemy Instigators GroupsHelpingRepelEnemy Instigators WaypointPath Instigators BuildUp noloop } state FoundEnemy { TriggerProcessor GoNamedState NextState Defend FoundEnemyFunction RepelAttack } state OrderPS { AIFunction Defensive TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy1 GroupsWatchingEnemy Instigators GroupsHelpingRepelEnemy Instigators WaypointPath Instigators ToPSBase noloop } state FoundEnemy1 { AIFunction RepelAttack TriggerProcessor GoNamedState NextState OrderPS } state OrderSK { AIFunction Defensive TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy2 GroupsWatchingEnemy Instigators GroupsHelpingRepelEnemy Instigators WaypointPath Instigators ToSKBase noloop } state FoundEnemy2 { AIFunction RepelAttack TriggerProcessor GoNamedState NextState OrderSK } state OrderHF { AIFunction Defensive TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy3 GroupsWatchingEnemy Instigators GroupsHelpingRepelEnemy Instigators WaypointPath Instigators ToHFBase noloop } state FoundEnemy3 { AIFunction RepelAttack TriggerProcessor GoNamedState NextState OrderHF } state OrderSB { AIFunction Defensive TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy4 GroupsWatchingEnemy Instigators GroupsHelpingRepelEnemy Instigators WaypointPath Instigators ToSBBase noloop } state FoundEnemy4 { AIFunction RepelAttack TriggerProcessor GoNamedState NextState OrderSB } BuildList Instigroup { Reaper Reaper Cannibal Cannibal Scrounger WitchDoctor } Path BuildUp { -249.446 42.736 -61.167 } Path ToPSBase { -102.618 5.111 -244.074 } Path ToSKBase { 106.487 30.000 -231.800 } Path ToHFBase { -161.235 30.000 13.106 -69.411 35.975 251.963 } Path ToSBBase { 66.561 20.868 240.579 }