- Joined
- Oct 19, 2007
- Messages
- 57
I have problem with countdown timer
Sometimes in my game it's can't destroy floating text and countdown timer.
and this is countdown timer
Thanks you.
Sometimes in my game it's can't destroy floating text and countdown timer.
Run Floating TextIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
xxxx
Then - Actions
Set RoundText = Final Round
Trigger - Run VS <gen> (checking conditions)
Else - Actions
VS
Events
Conditions
Actions
Set Point = (Center of Region 064 <gen>)
Floating Text - Create floating text that reads RoundText at Point with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set RoundFT = (Last created floating text)
Custom script: call RemoveLocation (udg_Point)
Set Point = (Center of Region 067 <gen>)
Floating Text - Create floating text that reads VS at Point with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set VSFT = (Last created floating text)
Custom script: call RemoveLocation (udg_Point)
Set Point = (Center of Region 065 <gen>)
Floating Text - Create floating text that reads (Name of LeftsidePlayer) at Point with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set LeftFT = (Last created floating text)
Custom script: call RemoveLocation (udg_Point)
Set Point = (Center of Region 066 <gen>)
Floating Text - Create floating text that reads (Name of RightsidePlayer) at Point with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set RightFT = (Last created floating text)
Custom script: call RemoveLocation (udg_Point)
Sound - Play VS <gen>
Cinematic - Disable user control for (All players)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Apply Camera 009 <gen> for (Picked player) over 0.00 seconds
Wait 4.00 seconds
Cinematic - Enable user control for (All players)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Reset camera for (Picked player) to standard game-view over 0.00 seconds
Floating Text - Destroy LeftFT
Floating Text - Destroy RightFT
Floating Text - Destroy RoundFT
Floating Text - Destroy VSFT
Trigger - Run ChooseUnitsTimer <gen> (checking conditions)
Events
Conditions
Actions
Set Point = (Center of Region 064 <gen>)
Floating Text - Create floating text that reads RoundText at Point with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set RoundFT = (Last created floating text)
Custom script: call RemoveLocation (udg_Point)
Set Point = (Center of Region 067 <gen>)
Floating Text - Create floating text that reads VS at Point with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set VSFT = (Last created floating text)
Custom script: call RemoveLocation (udg_Point)
Set Point = (Center of Region 065 <gen>)
Floating Text - Create floating text that reads (Name of LeftsidePlayer) at Point with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set LeftFT = (Last created floating text)
Custom script: call RemoveLocation (udg_Point)
Set Point = (Center of Region 066 <gen>)
Floating Text - Create floating text that reads (Name of RightsidePlayer) at Point with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set RightFT = (Last created floating text)
Custom script: call RemoveLocation (udg_Point)
Sound - Play VS <gen>
Cinematic - Disable user control for (All players)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Apply Camera 009 <gen> for (Picked player) over 0.00 seconds
Wait 4.00 seconds
Cinematic - Enable user control for (All players)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Reset camera for (Picked player) to standard game-view over 0.00 seconds
Floating Text - Destroy LeftFT
Floating Text - Destroy RightFT
Floating Text - Destroy RoundFT
Floating Text - Destroy VSFT
Trigger - Run ChooseUnitsTimer <gen> (checking conditions)
and this is countdown timer
Countdown Timer CreateChooseUnitsTimer
Events
Conditions
Actions
Countdown Timer - Start BuyTimer as a One-shot timer that will expire in 30.00 seconds
Countdown Timer - Create a timer window for BuyTimer with title Choose an units tim...
Set BuyTimerWindow = (Last created timer window)
Countdown Timer - Show BuyTimerWindow
Destroy Countdown TimerChooseUnitsExpired
Events
Time - BuyTimer expires
Conditions
Actions
Countdown Timer - Destroy BuyTimerWindow
-
-
-
-
-
-
more of more action below destroy action