; Script for team 6 NightHordeB (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 AttackPlayerBaseNorth { AIFunction Defensive NextState AttackPlayerBase TriggerProcessor GoNamedState GroupsWatchingEnemy Patrol GroupsHelpingRepelEnemy Patrol WaypointPath Preplaced1 AttackPlayerBaseNorth noloop WaypointPath Preplaced4 AttackPlayerBaseNorth 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 SupportSK { AIFunction Defensive NextState AttackPlayerBase TriggerProcessor GoNamedState GroupsWatchingEnemy Preplaced1 GroupsHelpingRepelEnemy Preplaced1 WaypointPath Preplaced1 SupportSK noloop } state SupportSB { AIFunction Defensive NextState AttackPlayerBase TriggerProcessor GoNamedState GroupsWatchingEnemy Preplaced4 GroupsHelpingRepelEnemy Preplaced4 WaypointPath Preplaced4 SupportSB noloop } ; ---------------------------------------------- paths ; ------------- Walk Post 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 -63.306576 18.244690 255.742233 } Path AttackPlayerFinal { 153.778519 30.254429 -162.415466 168.091843 29.890476 -153.356277 167.753586 29.839260 -168.951569 186.364288 29.882334 -164.559845 -63.306576 18.244690 255.742233 } Path AttackPlayerBaseNorth { 92.886276 28.460754 200.642181 172.052109 33.946289 167.832901 211.194733 20.934998 78.886719 228.397110 24.278748 -72.577995 153.778519 30.254429 -162.415466 168.091843 29.890476 -153.356277 167.753586 29.839260 -168.951569 186.364288 29.882334 -164.559845 -63.306576 18.244690 255.742233 } 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 -63.306576 18.244690 255.742233 } ; ------------- Retreat Path DrawPlayerOut { 19.311632 9.138489 69.165512 } Path DrawOutPlayerNorth { -26.940563 24.533997 -212.523499 -110.108093 21.177429 -173.111908 19.311632 9.138489 69.165512 } Path DrawOutPlayerEast { 68.546417 30.226563 -192.179474 -22.065605 23.053284 -110.339676 19.311632 9.138489 69.165512 } ; ------------- Other path Preplace1Wait { -87.815926 27.229919 187.514359 } path Preplace2Wait { -80.815926 35.229919 187.514359 } path Preplace3Wait { -87.815926 35.229919 187.514359 } path Preplace4Wait { -80.815926 27.229919 187.514359 } ; 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 SupportSB { 82.162277 15.227295 124.710518 } Path SupportSK { 28.615032 18.296093 -48.633987 } ; ---------------------------------------------- BuildLists