I have a trigger which basically creates a random burrowed zerg unit from an array of unit types, waits .05 seconds, and then checks for what specific zerg unit it is, and issues the order to unburrow for that unit. But I then want the units to attack move to a certain point. and that's the problem, after they unburrow, they just stand there.
Here's the map with the Triggers in place. The only triggers that need to be looked at are the Swarm Waves Triggers.
The Mission Events trigger activates Swarm Wave Attack A, which uses the Initiate Swarm Wave action that sets the parameters for the two variables Swarm Attack Point (where the zerg are going to attack) and Swarm Wave Region (Where the zerg spawn) Now that the two variables are set, the action then activates the Swarm Spawn Trigger which is the trigger in question. That's the one that spawns and sends the units to attack, or at least that's what it should do. Not really sure Why it's not working.
It's impossible to add both of the orders immediately (even in a queue) since a burrowed unit can't be ordered to move (and it's still burrowed when the game tries to issue the order). Using shift does not take into account any changes that have been ordered previously.
Comparison, you can't tell a viking to morph to flying and back to ground in a queue since the ground viking does not have the morph to ground ability.
I ended up simply doing a small wait, like RageQit said, and then ordering it to attack or move or whatever when I ran into this problem.
I have a trigger which basically creates a random burrowed zerg unit from an array of unit types, waits .05 seconds, and then checks for what specific zerg unit it is, and issues the order to unburrow for that unit. But I then want the units to attack move to a certain point. and that's the problem, after they unburrow, they just stand there.
Here's the map with the Triggers in place. The only triggers that need to be looked at are the Swarm Waves Triggers.
http://filesmelt.com/dl/Good_templeFixing_Swarm_Waves1.SC2Map
The Mission Events trigger activates Swarm Wave Attack A, which uses the Initiate Swarm Wave action that sets the parameters for the two variables Swarm Attack Point (where the zerg are going to attack) and Swarm Wave Region (Where the zerg spawn) Now that the two variables are set, the action then activates the Swarm Spawn Trigger which is the trigger in question. That's the one that spawns and sends the units to attack, or at least that's what it should do. Not really sure Why it's not working.
maybe if u made it so that after a wait of like 1s u issue an order for it to attack?
I dont know because im not much of a wave wizzbom but if anyone cud answer this im sure it wud help alot of people
in summary: bump
issue order that adds to order queue rather than preempt it or replace it.
It's impossible to add both of the orders immediately (even in a queue) since a burrowed unit can't be ordered to move (and it's still burrowed when the game tries to issue the order). Using shift does not take into account any changes that have been ordered previously.
Comparison, you can't tell a viking to morph to flying and back to ground in a queue since the ground viking does not have the morph to ground ability.
I ended up simply doing a small wait, like RageQit said, and then ordering it to attack or move or whatever when I ran into this problem.