I know that title was rather vague, but I'm having a very strange problem here, which I'm hoping somebody can guide me through. I have a fairly large triggered ability (Dummy Cast Effect, all actions performed through behaviors and triggers) with two Wait actions in it.
I have another ability which orders all units in a unit group to use the first ability. In theory, that should work...as each unit is issued the order, it SHOULD run through the first trigger for each of them, the same as if they'd each used it on their own.
Here's the weird part: This ability works absolutely flawlessly if I order the units to use it directly in-game. If I use this 'proxy ability' (for lack of a better term) it either a) works, b) performs the actions before the first Wait and then stops, or c) performs the actions before the second Wait and then stops. There doesn't seem to be any pattern to whether it works or not. I'd say the three options happen rather evenly (roughly 33% of the time).
Why would the Waits be messing up the ability? I thought about trying to make the ability a custom action instead with the Create Thread option enabled, but that's a real pain to do at this point. Anybody else had this problem? If so, what was your solution?
This ability is absolutely essential to my game, so a speedy response would be appreciated :).
[Edit]: This is absolutely central to my game. Any suggestions of what to try would be appreciated.
I know that title was rather vague, but I'm having a very strange problem here, which I'm hoping somebody can guide me through. I have a fairly large triggered ability (Dummy Cast Effect, all actions performed through behaviors and triggers) with two Wait actions in it.
I have another ability which orders all units in a unit group to use the first ability. In theory, that should work...as each unit is issued the order, it SHOULD run through the first trigger for each of them, the same as if they'd each used it on their own.
Here's the weird part: This ability works absolutely flawlessly if I order the units to use it directly in-game. If I use this 'proxy ability' (for lack of a better term) it either a) works, b) performs the actions before the first Wait and then stops, or c) performs the actions before the second Wait and then stops. There doesn't seem to be any pattern to whether it works or not. I'd say the three options happen rather evenly (roughly 33% of the time).
Why would the Waits be messing up the ability? I thought about trying to make the ability a custom action instead with the Create Thread option enabled, but that's a real pain to do at this point. Anybody else had this problem? If so, what was your solution?
This ability is absolutely essential to my game, so a speedy response would be appreciated :).
[Edit]: This is absolutely central to my game. Any suggestions of what to try would be appreciated.