Hi again :D I need help how to make ensnare ability like from wc 3 wolf rider, When target fly unit, unit will be grounded and ground unit will be stunned, i think something with switch nope? :D
and if you will so good and can upload demo map or something. Ty
i came across the same issue. i looked into renee's mod and he didnt impl. it yet. i will solve it by having each air unit a morph ability (to ground unit). i am curious how renee gonna do that, making morph for all air units might suck alot lol.
You need 2 things to make air unit to ground (in this case, in other things you need 4)
1 make it attackable for ground weapons: Set in buff behavior effect plane delta air to -1 ground to 1.
2 visual: there is a height field in behavior fields but it can be only positive value from relative, so you cant put unit down only put up and when behavior over the height is become default.
However you can use another solutions, you can use modify unit effect, but it dont turn unit height to default after behavior expires so you need 2 of them one is set height to 0, and one set the height to 4(4 is the default air units height in starcraft 2)
So in buff behavior set field initial effect to height to 0 modify effect and set expire effect and final effect to height to 4.
initial start when behavior applied expired runs when behavior duration expired but not runs if behavior removed. final runs when duration expired or removed.
you need a validator that defines flying units because if you dont the ground units will also get the 4 height when behavior expired or removed.
you can also use triggers for visual height, and then you can use default height to air units, not just a fix 4 value, so it works on flying units that have different height then others.
Second part of the ability is stunning, set in modification modify flags to suppress movement enable(the basic ensnare only effect on movement and has no effect on ability use or attack.) but you can find them in buff behavior if you like to modify it.
Hi again :D I need help how to make ensnare ability like from wc 3 wolf rider, When target fly unit, unit will be grounded and ground unit will be stunned, i think something with switch nope? :D
and if you will so good and can upload demo map or something. Ty
@Narudek: Go
phoenix has a similiar ability just for air units? start with that and then tell us where you get stucked.
I'm stucked on stupid behaviour, i dont know how to air unit have to be grounded, where i can find it, where or what i have to change.
i came across the same issue. i looked into renee's mod and he didnt impl. it yet. i will solve it by having each air unit a morph ability (to ground unit). i am curious how renee gonna do that, making morph for all air units might suck alot lol.
@Narudek: Go
You need 2 things to make air unit to ground (in this case, in other things you need 4)
1 make it attackable for ground weapons: Set in buff behavior effect plane delta air to -1 ground to 1.
2 visual: there is a height field in behavior fields but it can be only positive value from relative, so you cant put unit down only put up and when behavior over the height is become default.
However you can use another solutions, you can use modify unit effect, but it dont turn unit height to default after behavior expires so you need 2 of them one is set height to 0, and one set the height to 4(4 is the default air units height in starcraft 2)
So in buff behavior set field initial effect to height to 0 modify effect and set expire effect and final effect to height to 4. initial start when behavior applied expired runs when behavior duration expired but not runs if behavior removed. final runs when duration expired or removed.
you need a validator that defines flying units because if you dont the ground units will also get the 4 height when behavior expired or removed.
you can also use triggers for visual height, and then you can use default height to air units, not just a fix 4 value, so it works on flying units that have different height then others.
Second part of the ability is stunning, set in modification modify flags to suppress movement enable(the basic ensnare only effect on movement and has no effect on ability use or attack.) but you can find them in buff behavior if you like to modify it.