Well, I have this team that keeps attacking the same target... Its weapons have a 2:30 min cooldown, but they keep attacking the same target, even with a attackpriority set, it doesn't respect the the priority and keeps attacking the same thing.
GLA Airport 1 Priority (note: this timer expires in 5 frames)
*** IF *** Timer 'ObjectListsDefined' has expired.
*** THEN *** For Attack priority set 'GLA Airport 1 Priority' set the priority of object type 'Supplies' to 500
For Attack priority set 'GLA Airport 1 Priority' set the priority of object type 'Barracks' to 400
For Attack priority set 'GLA Airport 1 Priority' set the priority of object type 'Power' to 300
For Attack priority set 'GLA Airport 1 Priority' set the priority of object type 'Factories' to 200
For Attack priority set 'GLA Airport 1 Priority' set the priority of object type 'Airfields' to 100
For Attack priority set 'GLA Airport 1 Priority' set the priority of object type 'Defenses' to 90
Spawn Airport 1 (note: this timer expires in 10 seconds)
*** IF *** Timer 'Spawn Airport 1' has expired.
*** THEN *** Spawn an instance of Team 'Airport 1 (PTBoat)' at Waypoint 'Airport 1'.
This is the subroutine for the Team on created.*** IF *** True.
*** THEN *** Have Team '
' use Attack priority set 'GLA Airport 1 Priority'.
Team '' begins hunting using Ability 'Command_TechAirportAirstrikeSuperWeapon'.