Me being the noob that I am must ask, could I give a unit (e.g a Orc Grunt) it's own mass (e.g 200) so that all the Grunts that spawn have 200 mass. I ask this because I'm a little confused to how this work. Also, is KS_UnitMass a variable that each unit has or is just one variable that I have to duplicate to give to other units.
So if there was a Grunt and a Peon, I could make them have different masses, just that if I were to create another Grunt I'd have to set his mass again. Also, I saw that your demo used the variable Hero for the knockback trigger, is it a bad idea to assign the variable Hero to 2 different units? For exampe a footman and a peasant in game having the same variable Hero, I found it still makes the trigger, just wondering if it will be inconvenient later on.
Also I just have to throw in, is it possible for one spell to give knockback that the enemy can fight and another spell that has knockback where the enemy is just, knock backed.
Not as hard as you make it sound.
A periodic unit group that picks all the unit in a knock back group , and moves it to an offset of what its at right now. You could store knockback real in custom value or in an array with a GUI MUI system. The trigger that put the unit in the group in the first place can remove it after a given time.
Me being a big JASS is having me some problems. While I got bash and things like stomp to knock back fine, I was trying to make it bash with shockwave and now am having big problems :/. I was first trying a dummy which would be created and run straight forward, and it was supposed to bash people but that didn't work very well. Can you help me out?
Yeah your trick worked. I made a dummy unit just run in a line in front of a caster grabbing enemies into a group and such. Thanks for the tip. (Late post cause it took me a while.)
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.