- Joined
- Dec 6, 2008
- Messages
- 374
Its a problem about Game - Text message.
I using this function (in triggers) everywhere.
But sometimes the text does not appear, even in triggers is set to Display the text.
Illustration:
1)In this trigger the text is displayed only one time, the next time when the function is call by Trigger, it doesn't work.
I using this function (in triggers) everywhere.
But sometimes the text does not appear, even in triggers is set to Display the text.
Illustration:
1)In this trigger the text is displayed only one time, the next time when the function is call by Trigger, it doesn't work.
-
Startvote
-
Events
-
Time - Elapsed game time is 3.00 seconds
-
-
Conditions
-
Actions
-
Cinematic - Fade out over 0.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
-
Sound - Play Hint <gen>
-
Set SellectArenanumber = 0
-
Countdown Timer - Start TimerArena as a One-shot timer that will expire in 20.00 seconds
-
Countdown Timer - Create a timer window for (Last started timer) with title Vote time
-
Set TimerWindow = (Last created timer window)
-
Game - Display to (All players) for 20.00 seconds the text: |c0000AEAEVote for ...
-
Game - Display to (All players) for 20.00 seconds the text: |ccfff0000Ice arena...
-
Game - Display to (All players) for 20.00 seconds the text: |ccfff0000Hell aren...
-
Game - Display to (All players) for 20.00 seconds the text: |ccfff0000March are...
-
Game - Display to (All players) for 20.00 seconds the text: |ccfff0000Jungle ar...
-
Trigger - Turn on Vote <gen>
-
-
-
Kill
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Triggering unit)) Not equal to Ghost
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Killing unit)) Not equal to (Owner of (Triggering unit))
-
-
Then - Actions
-
Game - Display to (All players) for 10.00 seconds the text: (|c000000FF + ((Name of (Owner of (Killing unit))) + |r has killed somebody!))
-
Sound - Play AbominationDeath1 <gen>
-
Set KILLS[(Player number of (Owner of (Killing unit)))] = (KILLS[(Player number of (Owner of (Killing unit)))] + 1)
-
Leaderboard - Change the value for (Owner of (Killing unit)) in BOARD to KILLS[(Player number of (Owner of (Killing unit)))]
-
Player - Set (Owner of (Killing unit)) Current gold to (((Owner of (Killing unit)) Current gold) + (Random integer number between 10 and 30))
-
-
Else - Actions
-
Game - Display to (All players) for 10.00 seconds the text: (|c000000FF + ((Name of (Owner of (Killing unit))) + |r has killed himself!))
-
-
-
Trigger - Run win <gen> (checking conditions)
-
-