The "unit progress (percent)" condition does not seem to work.
I've searched the forum and the very few post that are made about this issue seem to suggest that because there are no unit doing the construction it is not possible to use that condition. It seems it doesnt work for morphing and warping.
It was suggested that I should use a timer variable with the exact same value as the build time but as the build time will vary depending on things happening on the map ("Set unit progress", which do work) that is not a viable option.
I'm creating a map where the objective is to defend powerful structures that are being warped in. The building process takes 10 minutes (600 seconds), but you can speed it up by doing bonus objectives.
I've saved the structure being warped in in a variable and I am able to speed up the build time. But I also need a trigger that can detect how on how much is left of the build time. Mostly for attack waves, but also for preparing some other stuff.
I am using this event and condition
Event
Timer - Every 0.5 seconds of Game Time
Condition
(Progress of Stargate slot 1) >= 50
But it doesnt trigger.
(it's a long time since I've dealt with math, so I also tried <= just to be sure)
I'm quite embarrassed. It seems I had hidden a "turn trigger off" in an unrelated trigger which disabled it's function. Sorry for wasting everyones time.
The "unit progress (percent)" condition does not seem to work.
I've searched the forum and the very few post that are made about this issue seem to suggest that because there are no unit doing the construction it is not possible to use that condition. It seems it doesnt work for morphing and warping.
It was suggested that I should use a timer variable with the exact same value as the build time but as the build time will vary depending on things happening on the map ("Set unit progress", which do work) that is not a viable option.
Any suggestions?
I think you're missing the beginning half of your explanation.
it hard to say based of what u said.
Usualy the biggest issue using "unit progress (percent)" is finding the correct unit for the function.
Sorry for being so vague.
I'm creating a map where the objective is to defend powerful structures that are being warped in. The building process takes 10 minutes (600 seconds), but you can speed it up by doing bonus objectives.
I've saved the structure being warped in in a variable and I am able to speed up the build time. But I also need a trigger that can detect how on how much is left of the build time. Mostly for attack waves, but also for preparing some other stuff.
I am using this event and condition
Event
Timer - Every 0.5 seconds of Game Time
Condition
(Progress of Stargate slot 1) >= 50
But it doesnt trigger.
(it's a long time since I've dealt with math, so I also tried <= just to be sure)
Any tips on what I am doing wrong?
@njordys: Go
I'm quite embarrassed. It seems I had hidden a "turn trigger off" in an unrelated trigger which disabled it's function. Sorry for wasting everyones time.
well at least we know to watch out for that