I created an ability that makes a unit move towards another unit when the ability is active, but if the user tells the unit to move, patrol, hold, etc. it will do that first then move to where it supposed to. I've been looking through other abilities (Salvage bunker) to see what disables them but my behavior is different. How can I disable the button on the command card or queue the orders that are given after the ability is finished?
I created an ability that makes a unit move towards another unit when the ability is active, but if the user tells the unit to move, patrol, hold, etc. it will do that first then move to where it supposed to. I've been looking through other abilities (Salvage bunker) to see what disables them but my behavior is different. How can I disable the button on the command card or queue the orders that are given after the ability is finished?
You could have the ability also give the unit a buff which flags the unit as "uncommandable". The buff could be given a validator that causes it to be removed once the unit is standing still.
I created an ability that makes a unit move towards another unit when the ability is active, but if the user tells the unit to move, patrol, hold, etc. it will do that first then move to where it supposed to. I've been looking through other abilities (Salvage bunker) to see what disables them but my behavior is different. How can I disable the button on the command card or queue the orders that are given after the ability is finished?
You could have the ability also give the unit a buff which flags the unit as "uncommandable". The buff could be given a validator that causes it to be removed once the unit is standing still.
Seconded.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@Khalanil1: Go
How do I do that? I can't find anything that makes the unit uncommandable.
Mb, it was right infront of me haha.