;;Script; Machine 3 : Team 4 ;;C.Holtorf StartState init ;;initialize for play State init { AIFunction Defensive TriggerProcessor GoNamedState Build nighthorde NH Exact build1 10 10 .5 GroupsWatchingEnemy nighthorde FoundEnemyFunction RepelAttack WaypointPath nighthorde rally loop } ;;repel State repel { AIFunction Defensive Build nighthorde NH Exact build2 10 10 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy nighthorde FoundEnemyFunction RepelAttack WaypointPath nighthorde repel noloop } ;;white gate recall State gatereturn { AIFunction Defensive Build nighthorde NH Exact build1 5 5 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy nighthorde FoundEnemyFunction RepelAttack WaypointPath nighthorde theifgate noloop } ;;to nearby fount (near player NH) State fountain { AIFunction Defensive Build nighthorde NH Exact build1 7 7 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy nighthorde FoundEnemyFunction RepelAttack WaypointPath nighthorde fountain noloop } ;;rally here State rallyup { AIFunction Defensive TriggerProcessor GoNamedState Build nighthorde NH Exact build1 5 5 .5 GroupsWatchingEnemy nighthorde FoundEnemyFunction RepelAttack WaypointPath nighthorde rally noloop } ;;attacking State attack1 { AIFunction Defensive TriggerProcessor GoNamedState Build nighthorde NH Exact build1 10 10 .5 GroupsWatchingEnemy nighthorde FoundEnemyFunction RepelAttack WaypointPath nighthorde attacking noloop WaypointPath nighthorde2 skfount noloop WaypointPath nighthorde3 rally noloop } ;;attack the NH State attack2 { AIFunction Defensive TriggerProcessor GoNamedState Build nighthorde NH Exact build2 10 10 .5 GroupsWatchingEnemy nighthorde FoundEnemyFunction RepelAttack WaypointPath nighthorde attack2 noloop Waypointpath nighthorde2 fountain noloop WaypointPath nighthorde3 theifgate noloop } ;;attack your base (dark gate) State moongate { AIFunction Defensive Build nighthorde NH Exact one 5 5 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy nighthorde GroupsHelpingRepelEnemy nighthorde FoundEnemyFunction RepelAttack FoundEnemyNewState FoundEnemy Moongate nighthorde base WaypointPath nighthorde moongate noloop } ;;also to attack your base (light gate) State moongate2 { AIFunction Defensive Build nighthorde NH Exact two 7 7 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy nighthorde GroupsHelpingRepelEnemy nighthorde FoundEnemyFunction RepelAttack FoundEnemyNewState FoundEnemy Moongate nighthorde base2 WaypointPath nighthorde moongate2 noloop } ;;also to attack your base (light gate to your fountain) State moongate2fount { AIFunction Defensive Build nighthorde NH Exact one 7 7 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy nighthorde GroupsHelpingRepelEnemy nighthorde FoundEnemyFunction RepelAttack FoundEnemyNewState FoundEnemy Moongate nighthorde base2 WaypointPath nighthorde moongate2fount noloop } ;attack your base (on foot, from fountain area) State founttoplayer { AIFunction Defensive Build nighthorde NH Exact one 5 5 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy nighthorde GroupsHelpingRepelEnemy nighthorde FoundEnemyFunction RepelAttack FoundEnemyNewState FoundEnemy WaypointPath nighthorde founttoplayer noloop } ;;path to NHplayer Path attack2 { 234.520248 36.911377 205.428864 188.053650 35.255695 185.021378 96.670860 36.879181 222.478424 65.223511 36.242130 174.068558 -12.072712 36.166618 88.037376 } ;;get the encroaching troops Path repel { 157.079147 35.024948 131.325638 73.972244 36.399532 51.316319 -19.030270 34.335777 -17.982901 -34.592987 19.742523 -116.202339 } ;;gather Path rally { 248.924698 37.524719 215.205261 } ;;NH fountain Path fountain { 145.835617 35.008110 118.464127 91.158920 36.367470 68.487427 39.822727 44.043213 84.637459 48.029198 34.621193 118.611633 } ;;from fountain near player to player base Path founttoplayer { 50.299248 35.487659 -180.739029 84.574425 35.616398 -156.991119 115.121010 34.352604 -142.303711 148.277115 30.893406 -153.909058 203.618790 34.388195 -163.519196 } ;;attacking your home fountain Path attacking { 17.737038 34.198647 41.471031 8.860180 35.334965 -16.478447 36.077061 24.724686 -111.777451 33.791725 28.057808 -151.348022 63.842617 35.432732 -210.483353 73.403740 37.883018 -199.787399 } ;;moongate to your base Path moongate { 251.419281 31.029886 -211.016754 235.001984 36.180561 -202.007431 220.918640 36.086193 -194.104630 211.533188 35.695271 -176.311142 } ;;from light gate to your fount Path moongate2fount { 137.915710 32.065723 -134.114014 99.817833 35.815899 -148.794220 64.564362 36.421684 -179.741837 62.994705 39.251221 -197.679932 } ;;white moongate to your base Path moongate2 { 146.821533 31.025463 -135.927170 157.493515 32.239258 -165.324905 203.618790 34.388195 -163.519196 } ;;path for moongate theft Path theifgate { 218.753647 37.740356 205.077011 169.080536 34.041367 190.595093 128.125961 32.708050 211.665619 100.208458 35.793308 240.863449 113.667999 35.247654 263.065033 138.046066 33.682804 263.294373 } ;;build one buildlist build1 { Cannibal Cannibal Graverobber Graverobber Graverobber } ;;build two buildlist build2 { Damage Cannibal Cannibal Graverobber Witchdoctor Witchdoctor Armor }