HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

making unit back

03-25-2007, 03:40 PM#1
Night-raider
ok its this way: i trying making units slideaway from the caster with warstomp, and a trigger ofcourse (im using world editor unlimited) cna anyone help me on this?
03-25-2007, 04:03 PM#2
Ammorth
It involves getting the angle between the caster and the unit, and then pushing them back (instantly, or periodically in small increments to simulate sliding) to a certain distance, or for a certain distance. The instant version can easily be coded in GUI using Polar Offsets and Get Angle Between Points.
03-25-2007, 04:20 PM#3
Night-raider
can u show me, i want gui cozz i cant use jass yet (i want them to slide)
can u also make a whole group back off (its warstomp based so)
03-25-2007, 04:57 PM#4
thehellman
I just finished doing these knockback triggers in GUI. You can use 'em, learn something. They can easily be implemented in your map, or you can use make them from scratch. If you do decide to, credits to "TheGrandEditor" would be nice (that's my Battle.net name)

All you need are 3 variables, and you can adjust them. For example if you want a longer ranged knockback, change 'SmoothKnockback' to a higher number.
Attached Files
File type: w3xPractice.w3x (18.2 KB)
03-25-2007, 05:06 PM#5
Night-raider
got that and the creds for this part goes to u xD