im trying to make a behavior that gives a unit a 15% dodge chance, its a permanant behavior so it doesn't need to have anything applying it i just want the 15% dodge chance.
yea i saw that and thought that is what i needed but i was unsure. just as an extra do you know if i can make the word "dodge" appear over the unit's head when he dodges?
You can probably use a text actor for this. Check the Immortal Shields actors to see, which events you need for an actor to be shown when a damage response triggers, then just add similar events to a text actor and make it display the dodge text.
Also note that the "dodge" will only block damage. If you, for example, dodge a marauder missile, it will still slow you, even if you avoid the damage.
i need a little more help with that, i cant get it to work, i even tried turning the harden shield ones into my behaviors, for some reason Hardened shield damage handled works, but when i set it to the other behavior damage handled it turns red, i switch it back and wtf it turns blue again.
im still confused cause i dont now HOW to do a text tag thing to make it show up, like i said i tried mimicking the immortal shields but it says its invalid for use.
i have the behavior working (as far as i know, kinda main reason i want text tag up) and its just the text i need.
im trying to make a behavior that gives a unit a 15% dodge chance, its a permanant behavior so it doesn't need to have anything applying it i just want the 15% dodge chance.
@UltimaNecros: Go
You need to use Combat: Damage Response.
Set the chance to 0.15, set the Amount Fraction to 0.
That should do it.
@MasterWrath: Go
yea i saw that and thought that is what i needed but i was unsure. just as an extra do you know if i can make the word "dodge" appear over the unit's head when he dodges?
You can probably use a text actor for this. Check the Immortal Shields actors to see, which events you need for an actor to be shown when a damage response triggers, then just add similar events to a text actor and make it display the dodge text.
Also note that the "dodge" will only block damage. If you, for example, dodge a marauder missile, it will still slow you, even if you avoid the damage.
@Kueken531: Go
Unless it also applies a second behaviour that prevents such debuffs being applied.
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
i need a little more help with that, i cant get it to work, i even tried turning the harden shield ones into my behaviors, for some reason Hardened shield damage handled works, but when i set it to the other behavior damage handled it turns red, i switch it back and wtf it turns blue again.
I recently did a behavior exactly the way you're trying to do. Here's what I did:
Behavior - Buff (calling it DODGE) Effect - Damage (does 0 damage, used as a dummy, calling it DUMMY)
Damage Response for DODGE:
-Chance = .1 = 10% dodge rate
-Modify Fraction = 0.001 (because i dont trust 0)
-Handled = DUMMY
-Required Effect Array = All weapons used by units in map (or nothing if you want it to be applied via all damage sources)
Then i set the text tag with triggers using the DUMMY effect as the event.
@Necromoni: Go
im still confused cause i dont now HOW to do a text tag thing to make it show up, like i said i tried mimicking the immortal shields but it says its invalid for use. i have the behavior working (as far as i know, kinda main reason i want text tag up) and its just the text i need.
@Necromoni: Go
thanks
@UltimaNecros: Go
That is what the dummy effect handled does. Have the Text type actor created when the effect is used.
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
Alright it works now, Thanks to everyone who helped! This was the last piece i wanted done for my map's Beta: Hero Income Defence!
Good luck...
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