; Script for team 5 StormBringerB (preplaced, no shrine), Machine map 4 startstate Default ; ---------------------------------------------- States state FoundEnemy { AIFunction RepelAttack TriggerProcessor GoNamedState NextState Default } state Default { AIFunction Defensive Defensive Preplaced1 Preplaced2 Preplaced3 Preplaced4 TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy GroupsWatchingEnemy Preplaced1 Preplaced2 Preplaced3 Preplaced4 GroupsHelpingRepelEnemy Patrol ; WaypointPath Preplaced1 Preplace1Wait noloop ; WaypointPath Preplaced2 Preplace2Wait noloop ; WaypointPath Preplaced3 Preplace3Wait noloop ; WaypointPath Preplaced4 Preplace4Wait noloop } state PP1DefendCamp { AIFunction Defensive TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack GroupsWatchingEnemy Preplaced1 Preplaced2 Preplaced3 Preplaced4 GroupsHelpingRepelEnemy Patrol } state LastDitchEffort { AIFunction Defensive TriggerProcessor GoNamedState NextState Default FoundEnemyFunction RepelAttack GroupsWatchingEnemy Preplaced1 Preplaced2 Preplaced3 Preplaced4 GroupsHelpingRepelEnemy Patrol WaypointPath Preplaced1 LastDitchEffort noloop WaypointPath Preplaced2 LastDitchEffort noloop WaypointPath Preplaced3 LastDitchEffort noloop WaypointPath Preplaced4 LastDitchEffort noloop } state AttackPlayerBaseSouth { AIFunction Defensive NextState AttackPlayerBase TriggerProcessor GoNamedState GroupsWatchingEnemy Patrol GroupsHelpingRepelEnemy Patrol WaypointPath Preplaced1 AttackPlayerBaseSouth noloop WaypointPath Preplaced4 AttackPlayerBaseSouth noloop } state AttackPlayerBaseEast { AIFunction Defensive NextState AttackPlayerBaseEast TriggerProcessor GoNamedState GroupsWatchingEnemy Patrol GroupsHelpingRepelEnemy Patrol WaypointPath Preplaced2 AttackPlayerBaseEast noloop WaypointPath Preplaced3 AttackPlayerBaseEast noloop } state DrawPlayerOut { AIFunction Defensive Passive Preplaced1 Preplaced2 Preplaced3 Preplaced4 NextState StandAndFight TriggerProcessor GoNamedState GroupsWatchingEnemy Preplaced1 Preplaced2 Preplaced3 Preplaced4 WaypointPath Preplaced1 DrawPlayerOut noloop WaypointPath Preplaced2 DrawPlayerOut noloop WaypointPath Preplaced3 DrawPlayerOut noloop WaypointPath Preplaced4 DrawPlayerOut noloop } state StandAndFight { AIFunction Defensive Defensive Preplaced1 Preplaced2 Preplaced3 Preplaced4 NextState DrawPlayerOut TriggerProcessor GoNamedState GroupsWatchingEnemy Preplaced1 Preplaced2 Preplaced3 Preplaced4 WaypointPath Preplaced1 DrawPlayerOut noloop WaypointPath Preplaced2 DrawPlayerOut noloop WaypointPath Preplaced3 DrawPlayerOut noloop WaypointPath Preplaced4 DrawPlayerOut noloop } state SupportNH { AIFunction Defensive NextState AttackPlayerBaseEast TriggerProcessor GoNamedState GroupsWatchingEnemy Preplaced2 GroupsHelpingRepelEnemy Preplaced2 WaypointPath Preplaced2 SupportNH noloop } state SupportNH { AIFunction Defensive NextState AttackPlayerBaseEast TriggerProcessor GoNamedState GroupsWatchingEnemy Preplaced3 GroupsHelpingRepelEnemy Preplaced3 WaypointPath Preplaced3 SupportSK noloop } ; ---------------------------------------------- paths ; ------------- Walk Post ; ------------- Assault Path AttackPlayer { 153.778519 30.254429 -162.415466 168.091843 29.890476 -153.356277 167.753586 29.839260 -168.951569 186.364288 29.882334 -164.559845 -214.600204 20.710266 -37.648869 } Path AttackPlayerBaseSouth { 68.546417 30.226563 -192.179474 153.778519 30.254429 -162.415466 168.091843 29.890476 -153.356277 167.753586 29.839260 -168.951569 186.364288 29.882334 -164.559845 -214.600204 20.710266 -37.648869 } Path AttackPlayerBaseEast { 92.854675 30.288574 -66.945953 153.778519 30.254429 -162.415466 168.091843 29.890476 -153.356277 167.753586 29.839260 -168.951569 186.364288 29.882334 -164.559845 -214.600204 20.710266 -37.648869 } ; ------------- Retreat Path DrawPlayerOut { 82.162277 15.227295 124.710518 } Path DrawOutPlayerSouth { -26.940563 24.533997 -212.523499 -110.108093 21.177429 -173.111908 -110.108093 21.177429 -173.111908 } Path DrawOutPlayerEast { 68.546417 30.226563 -192.179474 -22.065605 23.053284 -110.339676 } ; ------------- Other path Preplace1Wait { -150.922791 5.392639 -94.336441 } path Preplace2Wait { -150.922791 5.392639 -94.336441 } path Preplace3Wait { -150.922791 5.392639 -94.336441 } path Preplace4Wait { -150.922791 5.392639 -94.336441 } ; sk fountain Path ClaimSF1 { 211.194733 20.934998 78.886719 } ; nh fountain Path ClaimSF2 { -208.255020 9.633484 128.587646 } ; sb fountain Path ClaimSF3 { -189.615601 22.366455 -158.774384 } ; neutral fountain Path ClaimSF4 { 19.311632 9.138489 69.165512 } Path LastDitchEffort { -97.232162 8.054138 -42.760132 -214.600204 20.710266 -37.648869 } Path SupportSK { 28.615032 18.296093 -48.633987 } Path SupportNH { 19.311632 9.138489 69.165512 } ; ---------------------------------------------- BuildLists