; Stormbringer3 Script ; Script for Team 5: SBEastPatrol startstate Start state Start { AIFunction Defensive Aggressive EastPatrol TriggerProcessor GoNamedState GroupsWatchingEnemy EastPatrol GroupsHelpingRepelEnemy EastPatrol } state LeftToMiddle { AIFunction Defensive Aggressive EastPatrol TriggerProcessor GoNamedState GroupsWatchingEnemy EastPatrol GroupsHelpingRepelEnemy EastPatrol WaypointPath EastPatrol Left2Middle noloop } state MiddleToLeft { AIFunction Defensive Aggressive EastPatrol TriggerProcessor GoNamedState GroupsWatchingEnemy EastPatrol GroupsHelpingRepelEnemy EastPatrol WaypointPath EastPatrol Middle2Left noloop } state MiddleToRight { AIFunction Defensive Aggressive EastPatrol TriggerProcessor GoNamedState GroupsWatchingEnemy EastPatrol GroupsHelpingRepelEnemy EastPatrol WaypointPath EastPatrol Middle2Right noloop } state RightToMiddle { AIFunction Defensive Aggressive EastPatrol TriggerProcessor GoNamedState GroupsWatchingEnemy EastPatrol GroupsHelpingRepelEnemy EastPatrol WaypointPath EastPatrol Right2Middle noloop } state KillPig { AIFunction Defensive Aggressive EastPatrol FoundEnemyFunction RepelAttack FoundEnemyState FoundPiggy GroupsWatchingEnemy EastPatrol GroupsHelpingRepelEnemy EastPatrol Moongate EastPatrol centerblue WaypointPath EastPatrol ToPig noloop } state FoundPiggy { AIFunction RepelAttack TriggerProcessor GoNamedState NextState KillPig } Path Left2Middle { -136.582 14.000 203.477 } Path Middle2Left { -53.143 8.332 149.336 } Path Middle2Right { -171.086 9.797 156.891 -170.750 9.852 116.943 -121.551 10.496 44.353 } Path Right2Middle { -170.750 9.852 116.943 -171.086 9.797 156.891 -136.582 14.000 203.477 } Path ToPig { 44.871 31.788 -46.745 7.979 31.950 -54.700 -36.722 32.184 -45.934 -62.775 32.106 -16.793 -68.069 26.955 31.312 -65.539 32.082 79.302 -84.390 32.137 117.570 -105.272 32.375 138.819 }