- Joined
- May 21, 2013
- Messages
- 12
so I'm trying to make a dynamic timer or something, a Countdown Timer that keeps changing when a unit is killed but for some reason it doesn't work and I kept trying to fix it, change it and workarounds and stuff but It still doesn't work. Now I'm asking help from you guys, hoping that you guys know what's wrong with my trigger.
The Countdown timer is for spawning creeps.
So here's the first trigger that starts a Repeating Timer..
I placed the showed "Timer Windows" of the Countdowns for testing purposes
I also tried "Trigger - Execution Count" but it doesn't seem to work, so I used + 1 instead after everytime a runs on specific triggers
The Countdown timer is for spawning creeps.
So here's the first trigger that starts a Repeating Timer..
-
Z start
-
Events
-
Time - Elapsed game time is 5.00 seconds
-
-
Conditions
-
Actions
-
Countdown Timer - Start balancZation as a Repeating timer that will expire in 120.00 seconds
-
Countdown Timer - Create a timer window for (Last started timer) with title balanZ
-
Game - Set the time of day to 8.00
-
-
-
balancZation
-
Events
-
Time - balancZation expires
-
-
Conditions
-
Actions
-
Set IndexbalancZ = (IndexbalancZ + 1)
-
Set playerZ = (All players)
-
Game - Display to playerZ for 10.00 seconds the text: (Exec count of balancZation is + (String(IndexbalancZ)))
-
-
-
shinra timer
-
Events
-
Time - Elapsed game time is 5.00 seconds
-
-
Conditions
-
Actions
-
-------- angel --------
-
Countdown Timer - Start shinraTimer as a Repeating timer that will expire in (45.00 + shinraDead[IndexAngel]) seconds
-
Countdown Timer - Create a timer window for (Last started timer) with title Angel
-
Set shinratensei = (Last created timer window)
-
Countdown Timer - Show shinratensei
-
-
-
shinraDies
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to (==) Shinra
-
-
Actions
-
Set shinraDead[IndexAngel] = (shinraDead[IndexbalancZ] - 1.75)
-
-
-
angel
-
Events
-
Time - shinraTimer expires
-
-
Conditions
-
Actions
-
Set IndexAngel = (IndexAngel + 1)
-
Set angelspawn = (Center of angelspawn <gen>)
-
Set angelspawn_2 = (Center of angelspawn 2 <gen>)
-
Unit - Create 4 Shinra for Player 12 (Brown) at angelspawn facing 271.00 degrees
-
Unit Group - Order (Last created unit group) to Attack-Move To angelspawn_2
-
Custom script: call RemoveLocation(udg_angelspawn)
-
Custom script: call RemoveLocation(udg_angelspawn_2)
-
-
I placed the showed "Timer Windows" of the Countdowns for testing purposes
I also tried "Trigger - Execution Count" but it doesn't seem to work, so I used + 1 instead after everytime a runs on specific triggers
Last edited: