I need help on how to make an ability which will cause your unit to take no damage, even when attack, and the unit also causes an AOE taunt around him. Any suggestions on how to do this?
Have the ability execute an Apply Behavior effect, link the effect to a behavior with Damage Response Chance set to 1, Damage Response Modify Fraction set to 0.
I'm not too sure what an AOE taunt is supposed to be...
The part about being "forced to attack" is a tricky one.
You can issue an order to all these units (Issue Order effect), but the player would be able to cancel the order and do something else. You could also apply a behavior that makes the unit uncommendable and so on, but that only work for human players. Computer AIs seem to ignore that flag entirely and will issue new orders to the units anyway (you could get around that trigger-side by Enabling/Disabling script control when the behavior is enabled).
I need help on how to make an ability which will cause your unit to take no damage, even when attack, and the unit also causes an AOE taunt around him. Any suggestions on how to do this?
Have the ability execute an Apply Behavior effect, link the effect to a behavior with Damage Response Chance set to 1, Damage Response Modify Fraction set to 0.
I'm not too sure what an AOE taunt is supposed to be...
Thanks for the reply.
By AOE taunt I mean that when you activate the ability, all the enemy units around you are forced to attack you for a period of time.
The part about being "forced to attack" is a tricky one.
You can issue an order to all these units (Issue Order effect), but the player would be able to cancel the order and do something else. You could also apply a behavior that makes the unit uncommendable and so on, but that only work for human players. Computer AIs seem to ignore that flag entirely and will issue new orders to the units anyway (you could get around that trigger-side by Enabling/Disabling script control when the behavior is enabled).
Use a Create Persistent to use a rapid periodic Issue Order to tell them to use the Attack ability on the caster.
Else give your damage nulling buff a rapid periodic Search Area effect.
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