I'm trying to make a hydralisk unburrow and then hold position. Currently I have two triggers.
1. Event - Spectre enters region
2. Action - Hydralisk ordered to unburrow
1. Event - Hydralisk unburrows
2. Action - Hydralisk ordered to hold position
but the hydralisk isn't holding position. it chases after any enemies it encounters. i imagine this is because there is no "hold position" command available on the ability card while the hydra is burrowed and in the process of unburrowing?
Not a coder, and have minimal experience; but there should be a "wait" function that you can do between actions. Just time it to the milisecond that the hydra finishes its animation.
Not a coder, and have minimal experience; but there should be a "wait" function that you can do between actions. Just time it to the milisecond that the hydra finishes its animation.
i used a "wait" function, but not a time based one. there were some bugs associated with the time based one if you walk the spectre in and out of the region quickly.
i used "Wait until UNIT Becomes idle", that seems to work.
I'm trying to make a hydralisk unburrow and then hold position. Currently I have two triggers.
1. Event - Spectre enters region 2. Action - Hydralisk ordered to unburrow
1. Event - Hydralisk unburrows 2. Action - Hydralisk ordered to hold position
but the hydralisk isn't holding position. it chases after any enemies it encounters. i imagine this is because there is no "hold position" command available on the ability card while the hydra is burrowed and in the process of unburrowing?
is there some way around this?
@GvdB: Go
Not a coder, and have minimal experience; but there should be a "wait" function that you can do between actions. Just time it to the milisecond that the hydra finishes its animation.
You can try to order it to hold position after existing order so it will hold right after it finish burrow.
@progammer
I believe what you're suggesting is what I'm already doing:
unburrow trigger
http://imgur.com/thm9E.jpg
hold position trigger
http://imgur.com/kmftl.jpg
but it doesn't work :(
i used a "wait" function, but not a time based one. there were some bugs associated with the time based one if you walk the spectre in and out of the region quickly.
i used "Wait until UNIT Becomes idle", that seems to work.