Deep thought
New Member
- Reaction score
- 1
Okay, for some strange reason, this timer isn't working:
When I test it, it looks like this:
Now, I know that my basic trigger code isn't wrong, as there is an identical trigger that works fine ; you can see it working in the screenshot above:
So, the only thing I can think of is a problem with timers and arrays. What is the problem, if there is a problem, and how can I fix it?
Trigger:
- FFG 1 14
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to (the ability being cast)
- Actions
- Countdown Timer - Start FFG_Timer[(Player number of (Owner of (Casting unit)))] as a One-shot timer that will expire in 60.00 seconds
- Countdown Timer - Create a timer window for FFG_Timer[(Player number of (Owner of (Casting unit)))] with title Lol
- Events
When I test it, it looks like this:
Now, I know that my basic trigger code isn't wrong, as there is an identical trigger that works fine ; you can see it working in the screenshot above:
Trigger:
- TIMER
- Events
- Time - Elapsed game time is 2.00 seconds
- Conditions
- Actions
- Countdown Timer - Start TIMER as a One-shot timer that will expire in 2700.00 seconds
- Countdown Timer - Create a timer window for (Last started timer) with title Time until game end...
- Wait 2700.00 seconds
- Trigger - Turn on TIMER END <gen>
- Events
So, the only thing I can think of is a problem with timers and arrays. What is the problem, if there is a problem, and how can I fix it?