; Stormlands Defender script, and example/test script for AI development startstate StormlandsDefensive state StormlandsDefensive { AIFunction Defensive Build 1 SB Random SBBasic 10 unlimited 1 Build 2 SK Random SKBasic 10 unlimited 1 TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyNewState FoundEnemy ClansWatchingEnemy "SK" WaypointPath 1 StormlandsGuardBase loop WaypointPath 2 StormlandsLoiter noloop WaypointPath 3 StormlandsLoiter noloop } BuildList SBBasic { Acolyte Acolyte PyroMage } BuildList SKBasic { GutPuncher Ogre } Path StormlandsGuardBase { -75 42 77 -102 42 57 -141 42 45 -116 42 72 } Path StormlandsLoiter { -77 42 67 -60 45 33 -42 44 19 } Path StormlandsToPlayer { -77 42 67 -60 45 33 -42 44 19 -12 35 -22 52 20 -83 79 20 -107 97 20 -139 } BuildList SBBigDogs { PyroMage IceMage PyroMage IceMage PyroMage IceMage PyroMage IceMage PyroMage IceMage } BuildList SKBigDogs { Ogre GutPuncher Ogre GutPuncher Ogre GutPuncher Ogre GutPuncher Ogre GutPuncher } state SaveThePig { AIFunction RecklessAttack Build 1 SB Maintain SBBigDogs 10 unlimited 1 Build 2 SK Maintain SKBigDogs 10 unlimited 1 TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyNewState FoundEnemy } state FoundEnemy { AIFunction RepelAttack NextState StormlandsOffensive FoundEnemyFunction RepelAttack } state StormlandsOffensive { AIFunction RecklessAttack Build 1 SB Maintain SBBigDogs 10 unlimited 1 Build 2 SK Maintain SKBigDogs 10 unlimited 1 TriggerProcessor GoNamedState FoundEnemyFunction RepelAttack FoundEnemyState FoundEnemy WaypointPath 1 StormlandsToPlayer noloop WaypointPath 2 StormlandsToPlayer noloop }