- Joined
- Oct 29, 2012
- Messages
- 1,474
Hello,
this might be the oddest thing I see, but it seems that the event (Time - Timer expires) never works, whether the timer is arrayed or not, it never works, I have a reviving timer and it reaches 0.00, the hero doesn't revive and the window doesn't get destroyed. I have a tournament timer, one-shot, seems like the window doesn't get destroyed , nor the tournament launches. I just have one timer working which is Game-Start timer, it starts after 0.00 seconds elapsed from game time. Any other timer doesn't work...
Where would the bug lie on?
Just in case , I attached the simple triggers, for the tournament expiring trigger don't care about waits, since all units are paused that won't affect
EDIT : NOTE : The trigger that works properly is the one that's first created, the one that don't work are after creating the normal one, it seems it's hitting the op-limit or something
this might be the oddest thing I see, but it seems that the event (Time - Timer expires) never works, whether the timer is arrayed or not, it never works, I have a reviving timer and it reaches 0.00, the hero doesn't revive and the window doesn't get destroyed. I have a tournament timer, one-shot, seems like the window doesn't get destroyed , nor the tournament launches. I just have one timer working which is Game-Start timer, it starts after 0.00 seconds elapsed from game time. Any other timer doesn't work...
Where would the bug lie on?
Just in case , I attached the simple triggers, for the tournament expiring trigger don't care about waits, since all units are paused that won't affect
EDIT : NOTE : The trigger that works properly is the one that's first created, the one that don't work are after creating the normal one, it seems it's hitting the op-limit or something
-
Setup
-
Events
- Time - Elapsed game time is 0.00 seconds
- Conditions
-
Actions
- Countdown Timer - Start _Game_Start_Timer as a One-shot timer that will expire in 60.00 seconds
- Set _Game_Start_Timer = (Last started timer)
- Countdown Timer - Create a timer window for (Last started timer) with title Game auto-start:
- Set _Game_Start_Timer_Window = (Last created timer window)
- Countdown Timer - Show _Game_Start_Timer_Window
-
Events
-
Revive Hero Timer 1
-
Events
- Time - ReviveTimers[2] expires
- Time - ReviveTimers[3] expires
- Time - ReviveTimers[4] expires
- Time - ReviveTimers[5] expires
- Time - ReviveTimers[6] expires
- Time - ReviveTimers[8] expires
- Time - ReviveTimers[9] expires
- Time - ReviveTimers[10] expires
- Time - ReviveTimers[11] expires
- Time - ReviveTimers[12] expires
- Conditions
-
Actions
-
Unit Group - Pick every unit in RevivableHeroes and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Remaining time for ReviveTimers[(Player number of (Owner of (Picked unit)))]) Less than 1.00
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Owner of (Picked unit)) is in KonohaForce) Equal to True
-
Then - Actions
- Hero - Instantly revive (Picked unit) at (Center of Konoha Spawn <gen>), Show revival graphics
-
Else - Actions
- Hero - Instantly revive (Picked unit) at (Center of Akatsuki Spawn <gen>), Show revival graphics
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in RevivableHeroes and do (Actions)
-
Events
-
Tournament Start
- Events
- Conditions
-
Actions
- Custom script: set udg_Tournament_Timer = CreateTimer()
- Countdown Timer - Start Tournament_Timer as a One-shot timer that will expire in 60.00 seconds
- Countdown Timer - Create a timer window for (Last started timer) with title Tournament:
- Countdown Timer - Show (Last created timer window)
- Set Tournament_TimerWindow = (Last created timer window)
-
Tournament Prepare
-
Events
- Time - Tournament_Timer expires
- Conditions
-
Actions
- Game - Display to (All players) the text: LOOFOARZOGRAZOGOAZG...
- Sound - Stop music Immediately
- Sound - Play Credits
- Unit - Pause all units
- Trigger - Turn off Make Switch Heroes <gen>
- Wait 4.00 seconds
- Set Tournament_TempP = (Center of Tournament <gen>)
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
- Camera - Pan camera for (Picked player) to Tournament_TempP over 2.00 seconds
-
Loop - Actions
- Custom script: call RemoveLocation(udg_Tournament_TempP)
- Wait 0.10 seconds
-
For each (Integer TournamentInteger) from 2 to 6, do (Actions)
-
Loop - Actions
- Set Tournament_TempP = (Center of Tournament_RegionK[TournamentInteger])
- Unit - Move Character_Hero[TournamentInteger] instantly to Tournament_TempP, facing 0.00 degrees
- Unit - Reset ability cooldowns for Character_Hero[TournamentInteger]
- Custom script: call RemoveLocation(udg_Tournament_TempP)
-
Loop - Actions
-
For each (Integer TournamentInteger) from 8 to 12, do (Actions)
-
Loop - Actions
- Set Tournament_TempP = (Center of Tournament_RegionK[TournamentInteger])
- Unit - Move Character_Hero[TournamentInteger] instantly to Tournament_TempP, facing 180.00 degrees
- Unit - Reset ability cooldowns for Character_Hero[TournamentInteger]
- Custom script: call RemoveLocation(udg_Tournament_TempP)
-
Loop - Actions
- Wait 1.00 seconds
- Set Tournament_TempP = (Center of Tournament <gen>)
- Floating Text - Create floating text that reads 3 at Tournament_TempP with Z offset 50.00, using font size 10.00, color (100.00%, 10.00%, 10.00%), and 0.00% transparency
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees
- Floating Text - Change the age of (Last created floating text) to 1.00 seconds
- Wait 1.00 seconds
- Floating Text - Hide (Last created floating text) for (All players)
- Floating Text - Destroy (Last created floating text)
- Floating Text - Create floating text that reads 2 at Tournament_TempP with Z offset 50.00, using font size 10.00, color (100.00%, 10.00%, 10.00%), and 0.00% transparency
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees
- Floating Text - Change the age of (Last created floating text) to 1.00 seconds
- Wait 1.00 seconds
- Floating Text - Hide (Last created floating text) for (All players)
- Floating Text - Destroy (Last created floating text)
- Floating Text - Create floating text that reads 2 at Tournament_TempP with Z offset 50.00, using font size 10.00, color (100.00%, 10.00%, 10.00%), and 0.00% transparency
- Floating Text - Show (Last created floating text) for (All players)
- Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees
- Floating Text - Change the age of (Last created floating text) to 1.00 seconds
- Wait 1.00 seconds
- Floating Text - Hide (Last created floating text) for (All players)
- Floating Text - Destroy (Last created floating text)
-
For each (Integer TournamentInteger) from 2 to 6, do (Actions)
-
Loop - Actions
- Unit - Unpause Character_Hero[TournamentInteger]
- Selection - Select Character_Hero[TournamentInteger] for (Owner of Character_Hero[TournamentInteger])
-
Loop - Actions
-
For each (Integer TournamentInteger) from 8 to 12, do (Actions)
-
Loop - Actions
- Unit - Unpause Character_Hero[TournamentInteger]
- Selection - Select Character_Hero[TournamentInteger] for (Owner of Character_Hero[TournamentInteger])
-
Loop - Actions
-
Events
Last edited: