I am trying to create a "Machine Gunner" sort of unit that needs to be deployed before able to attack.
What is the best way to make an ability that makes the unit stationary when active, allowing it to attack, and being able to switch back? I've toyed with a few ways, like the morph ability that the Siege Tank uses, but I'm having trouble getting it to work still.
Create a buff behavior that disables move abilities and adds or enables the weapon you want. Then create a new "Behavior" type ability that gives the unit this behavior and enable the "Toggle" flag. Then give the unit this ability.
Hello,
I am trying to create a "Machine Gunner" sort of unit that needs to be deployed before able to attack.
What is the best way to make an ability that makes the unit stationary when active, allowing it to attack, and being able to switch back? I've toyed with a few ways, like the morph ability that the Siege Tank uses, but I'm having trouble getting it to work still.
Create a buff behavior that disables move abilities and adds or enables the weapon you want. Then create a new "Behavior" type ability that gives the unit this behavior and enable the "Toggle" flag. Then give the unit this ability.
I'll give that a go, thanks!
Additionally, is there a way to impose a delay on this?
i.e. taking 2 seconds to mount before toggling into attack mode
@hardball69: Go
Add a prepare time to the ability.
I assume it will supress movement?
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