Massive Bug, and it seems so simple

Edward

New Member
Reaction score
2
Basically there are two triggers. The first trigger turns on the second trigger 30 seconds into the game. The second trigger has a timer window that repeats every 600 seconds (10 minutes) makes units invulnerable and attack/move faster for 30 seconds. It also plays music during that time (1812 Overture starting at the 12:36 mark).

For some reason the second trigger doesn't start until about a half four to 45 minutes later. I didn't even think it was going to go off, I was just observing some other bugs (that were easy to fix) and suddenly the 1812 overture is playing!

One problem could be is that there is another trigger for the Horde that is just like this, offset by 330 seconds.

(You'll notice that I use Music Volume 0% and Music Volume 100% instead of "turn off" and "turn on", for some reason those always bug in every trigger I make).

Trigger:
  • Alliance Battle Turn on
    • Events
      • Time - Elapsed game time is 30.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn on Alliance Battle Cry <gen>


To
Trigger:
  • Alliance Battle Cry
    • Events
    • 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 - Set music volume to 0.00%
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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 - Set music volume to 100.00%
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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)


The Horde Trigger:

Trigger:
  • Horde Battle Turn on
    • Events
      • Time - Elapsed game time is 330.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn on Horde Battle Cry <gen>


Turns on

Trigger:
  • Horde Battle Cry
    • Events
      • Time - Every 600.00 seconds of game time
    • Conditions
    • Actions
      • Countdown Timer - Start HordeTime as a Repeating timer that will expire in 600.00 seconds
      • Countdown Timer - Create a timer window for HordeTime with title Horde Battle Cry!
      • Game - Display to (All players) the text: Strength and Honor!
      • Sound - Set music volume to 0.00%
      • Sound - Play ImperialMarch <gen>
      • Set HordeBattleCry = (Units owned by Player 7 (Green))
      • Set HordeBattleCry2 = (Units owned by Player 8 (Pink))
      • Set HordeBattleCry3 = (Units owned by Player 9 (Gray))
      • Set HordeBattleCry4 = (Units owned by Player 10 (Light Blue))
      • Set HordeBattleCry5 = (Units owned by Player 11 (Dark Green))
      • Set HordeBattleCry6 = (Units owned by Player 12 (Brown))
      • Unit Group - Pick every unit in HordeBattleCry and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to 400.00
          • Unit - Make (Picked unit) Invulnerable
      • Unit Group - Pick every unit in HordeBattleCry2 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to 400.00
          • Unit - Make (Picked unit) Invulnerable
      • Unit Group - Pick every unit in HordeBattleCry3 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to 400.00
          • Unit - Make (Picked unit) Invulnerable
      • Unit Group - Pick every unit in HordeBattleCry4 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to 400.00
          • Unit - Make (Picked unit) Invulnerable
      • Unit Group - Pick every unit in HordeBattleCry5 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to 400.00
          • Unit - Make (Picked unit) Invulnerable
      • Unit Group - Pick every unit in HordeBattleCry6 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to 400.00
          • Unit - Make (Picked unit) Invulnerable
      • Custom script: call DestroyGroup(udg_HordeBattleCry)
      • Custom script: call DestroyGroup(udg_HordeBattleCry2)
      • Custom script: call DestroyGroup(udg_HordeBattleCry3)
      • Custom script: call DestroyGroup(udg_HordeBattleCry4)
      • Custom script: call DestroyGroup(udg_HordeBattleCry5)
      • Custom script: call DestroyGroup(udg_HordeBattleCry6)
      • Wait 31.00 seconds
      • Sound - Stop ImperialMarch <gen> After fading
      • Sound - Set music volume to 100.00%
      • Set HordeBattleCry = (Units owned by Player 7 (Green))
      • Set HordeBattleCry2 = (Units owned by Player 8 (Pink))
      • Set HordeBattleCry3 = (Units owned by Player 9 (Gray))
      • Set HordeBattleCry4 = (Units owned by Player 10 (Light Blue))
      • Set HordeBattleCry5 = (Units owned by Player 11 (Dark Green))
      • Set HordeBattleCry6 = (Units owned by Player 12 (Brown))
      • Unit Group - Pick every unit in HordeBattleCry and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
          • Unit - Make (Picked unit) Vulnerable
      • Unit Group - Pick every unit in HordeBattleCry2 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
          • Unit - Make (Picked unit) Vulnerable
      • Unit Group - Pick every unit in HordeBattleCry3 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
          • Unit - Make (Picked unit) Vulnerable
      • Unit Group - Pick every unit in HordeBattleCry4 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
          • Unit - Make (Picked unit) Vulnerable
      • Unit Group - Pick every unit in HordeBattleCry5 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
          • Unit - Make (Picked unit) Vulnerable
      • Unit Group - Pick every unit in HordeBattleCry6 and do (Actions)
        • Loop - Actions
          • Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
          • Unit - Make (Picked unit) Vulnerable
      • Custom script: call DestroyGroup(udg_HordeBattleCry)
      • Custom script: call DestroyGroup(udg_HordeBattleCry2)
      • Custom script: call DestroyGroup(udg_HordeBattleCry3)
      • Custom script: call DestroyGroup(udg_HordeBattleCry4)
      • Custom script: call DestroyGroup(udg_HordeBattleCry5)
      • Custom script: call DestroyGroup(udg_HordeBattleCry6)
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Just wondering... Why is there no event on the second trigger ?? :eek:
 

Edward

New Member
Reaction score
2
There should have been, the event would be:

Time Periodic Event - Every 600 seconds execute this trigger.

I think I'm getting close to debugging this though.
 

Edward

New Member
Reaction score
2
Here's what I have

I'll be able to tell you if this works in about 5 more minutes

I changed to first trigger to:

Trigger:
  • Alliance Battle Turn on
    • Events
      • Time - Elapsed game time is 60.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn on Alliance Battle Cry <gen>
      • Countdown Timer - Create a timer window for AllianceTime with title Alliance Battle Cry...
      • Countdown Timer - Start AllianceTime as a Repeating timer that will expire in 600.00 seconds


The second one to:

Trigger:
  • Alliance Battle Cry
    • Events
      • Time - Every 600.00 seconds of game time
    • Conditions
    • Actions
      • Game - Display to (All players) the text: For Lordearon, For ...
      • Sound - Set music volume to 0.00%
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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 - Set music volume to 100.00%
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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)
 

Edward

New Member
Reaction score
2
I fixied it

One trigger was using game time
The other was using real time

$%^&*()

Thank you though for looking at it.
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top