This is the last trigger I will be adding to my map. I would like to know if there are any memory leaks I didn't fix (can sounds leak)?
Trigger:
- Alliance Battle Cry
- Events
- Time - Every 600.00 seconds of game time
- Conditions
- Actions
- Countdown Timer - Start AllianceTime as a Repeating timer that will expire in 600.00 seconds
- Countdown Timer - Create a timer window for AllianceTime with title Alliance Battle Cry...
- Game - Display to (All players) the text: For Lordearon, For ...
- Sound - Stop music Immediately
- Sound - Stop the currently playing music theme
- Sound - Play 1812at12miuntes36seconds <gen>
- Set AllianceBattleCry = (Units owned by Player 1 (Red))
- Set AllianceBattleCry2 = (Units owned by Player 2 (Blue))
- Set AllianceBattleCry3 = (Units owned by Player 3 (Teal))
- Set AllianceBattleCry4 = (Units owned by Player 4 (Purple))
- Set AllianceBattleCry5 = (Units owned by Player 5 (Yellow))
- Set AllianceBattleCry6 = (Units owned by Player 6 (Orange))
- Unit Group - Pick every unit in AllianceBattleCry and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to 400.00
- Unit - Make (Picked unit) Invulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry2 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to 400.00
- Unit - Make (Picked unit) Invulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry3 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to 400.00
- Unit - Make (Picked unit) Invulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry4 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to 400.00
- Unit - Make (Picked unit) Invulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry5 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to 400.00
- Unit - Make (Picked unit) Invulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry6 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to 400.00
- Unit - Make (Picked unit) Invulnerable
- Loop - Actions
- Custom script: call DestroyGroup(udg_AllianceBattleCry)
- Custom script: call DestroyGroup(udg_AllianceBattleCry2)
- Custom script: call DestroyGroup(udg_AllianceBattleCry3)
- Custom script: call DestroyGroup(udg_AllianceBattleCry4)
- Custom script: call DestroyGroup(udg_AllianceBattleCry5)
- Custom script: call DestroyGroup(udg_AllianceBattleCry6)
- Wait 31.00 seconds
- Sound - Stop 1812at12miuntes36seconds <gen> After fading
- Sound - Resume music
- Set AllianceBattleCry = (Units owned by Player 1 (Red))
- Set AllianceBattleCry2 = (Units owned by Player 2 (Blue))
- Set AllianceBattleCry3 = (Units owned by Player 3 (Teal))
- Set AllianceBattleCry4 = (Units owned by Player 4 (Purple))
- Set AllianceBattleCry5 = (Units owned by Player 5 (Yellow))
- Set AllianceBattleCry6 = (Units owned by Player 6 (Orange))
- Unit Group - Pick every unit in AllianceBattleCry and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
- Unit - Make (Picked unit) Vulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry2 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
- Unit - Make (Picked unit) Vulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry3 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
- Unit - Make (Picked unit) Vulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry4 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
- Unit - Make (Picked unit) Vulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry5 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
- Unit - Make (Picked unit) Vulnerable
- Loop - Actions
- Unit Group - Pick every unit in AllianceBattleCry6 and do (Actions)
- Loop - Actions
- Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
- Unit - Make (Picked unit) Vulnerable
- Loop - Actions
- Custom script: call DestroyGroup(udg_AllianceBattleCry)
- Custom script: call DestroyGroup(udg_AllianceBattleCry2)
- Custom script: call DestroyGroup(udg_AllianceBattleCry3)
- Custom script: call DestroyGroup(udg_AllianceBattleCry4)
- Custom script: call DestroyGroup(udg_AllianceBattleCry5)
- Custom script: call DestroyGroup(udg_AllianceBattleCry6)
- Events