Change the minimum speed of the unit being knocked. This can be done with by applying a behavior to the unit (of type: Buff) upon start and changing the minimum speed field.
You can find this field:
Behavior - Modfication+ field of the behavior
Movement tab
Movement speed minimum field
Increasing the value will increase the speed of the knockback. When the knockback is over (and the behavior fades) the unit will return to its normal minimum speed automatically.
ok thanks as the speed increase didn't affect the KB speed so hope this will work:P
I'm making a knockback spell and it all works, but the knockback is really slow and I've no idea how to increase the knocback speed. I've changed all kinds of values but it does not seem to affect anything. So what value do I need to change to increase the knockback speed.
I want to add a behaviour to a unit every time it kills an enemy unit, but I have no idea how to detect when a unit is killed using the data editor.
Note: I know it's easy with triggers but wanna know if it's possible with data editor.
Well as the title states I want to get the unit that is within x range of the caster of my ability that has the lowest % health.
So I have 10 units within range of me and 8 are at 90% 1 is at 50% and another one is at 20% how would I be able to apply an effect on the one that has 20% health?
I want to create an ability that when used increases the shields for all units within (500+- wc3 range fromout the casters position dunno how much range that is in sc2) by 25 for 10 seconds, but I have no idea how I should do that.
So could anyone point me in the right direction or help me out on this?
Thanks!
Edit: after much searching and trying I finaly figured it out
I'm making a system and I have to use a variable of the type Behaviour but I can't seem to find it. Doesn't it exist or have I overlooked it or something? And if it isn't there is there any other way I could get a behaviour as variable type (as behaviours apply buffs right? Else I just need the var type for a buff:P)
0
You can just take damage taken that takes the amount of damage dealt to the unit.
0
Uhmm if I understand correctly this should do
Modify player x minerals by (Yourvariable*50)
This should work
0
Might be easier if you do it like this:
Ex. you have 10 heroes
you store them in an array from 1-10 so
set Hero[1] = first hero
set Hero[2] = second hero
etc..
then in the random trigger
Event: put something like dialog button clicked or whateverway triggers your random hero
Conditions: nothing
Actions:
Create 1 unit of type Hero[random integer between 1 and 10 (as we have 10 heroes max)] rest of the action
and this will create a random unit of your Hero array
the Hero variable is a unit type variable
This should be easier to work with then the above and also when you increase the amount of heroes easier to adjust.
0
Looks great will really save lots of time to rpg makers;)
0
ok thanks as the speed increase didn't affect the KB speed so hope this will work:P
0
Ok will try thanks;)
0
I used the data editor apply force effect. And I will try the movement speed increase.
0
Bump
0
Hey,
I'm making a knockback spell and it all works, but the knockback is really slow and I've no idea how to increase the knocback speed. I've changed all kinds of values but it does not seem to affect anything. So what value do I need to change to increase the knockback speed.
Thanks
0
Hey,
I want to add a behaviour to a unit every time it kills an enemy unit, but I have no idea how to detect when a unit is killed using the data editor. Note: I know it's easy with triggers but wanna know if it's possible with data editor.
Thanks
0
Well as the title states I want to get the unit that is within x range of the caster of my ability that has the lowest % health.
So I have 10 units within range of me and 8 are at 90% 1 is at 50% and another one is at 20% how would I be able to apply an effect on the one that has 20% health?
Thanks!
0
Hey,
I want to create an ability that when used increases the shields for all units within (500+- wc3 range fromout the casters position dunno how much range that is in sc2) by 25 for 10 seconds, but I have no idea how I should do that.
So could anyone point me in the right direction or help me out on this?
Thanks!
Edit: after much searching and trying I finaly figured it out
0
You should be able to get the amount of points in your attribute using GetCatalog thingy function.
0
Aaah yes thanks;)
0
Hey,
I'm making a system and I have to use a variable of the type Behaviour but I can't seem to find it. Doesn't it exist or have I overlooked it or something? And if it isn't there is there any other way I could get a behaviour as variable type (as behaviours apply buffs right? Else I just need the var type for a buff:P)
Thanks;)