0rcL0rd
New Member
- Reaction score
- 1
Edit : Solved
Hi
what is wrong with this code, it doesn't work.
RedTimer
RedSpawn
RedSpawns
This is my leveltable as a test
Set RoundUnit[1] = Bandit
-------- next round --------
Set RoundUnit[2] = Brigand
-------- next round --------
And in Initialization i have Set the Level to 0.
Hi
what is wrong with this code, it doesn't work.
RedTimer
Trigger:
- Events
- Time - Elapsed game time is 0.00 seconds
- Conditions
- Actions
- Countdown Timer - Start RedTimer as a Repeating timer that will expire in 20.00 seconds
- Countdown Timer - Create a timer window for (Last started timer) with title Next Level in :
- Countdown Timer - Show (Last created timer window) for Player 1 (Red)
RedSpawn
Trigger:
- Events
- Time - RedTimer expires
- Conditions
- Actions
- Set Level = (Level + 1)
- Trigger - Turn on RedSpawns <gen>
- Trigger - Run RedSpawns <gen> (checking conditions)
RedSpawns
Trigger:
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- Unit - Create 1 RoundUnit[Level] for Player 12 (Brown) at (Center of RedSpawn <gen>) facing 280.00 degrees
This is my leveltable as a test
Set RoundUnit[1] = Bandit
-------- next round --------
Set RoundUnit[2] = Brigand
-------- next round --------
And in Initialization i have Set the Level to 0.