| 11-24-2003, 07:52 PM | #1 |
Made a hero ability of firebolt call Dash Attack. Once its cast it shoot out at a speed of 10000 and stuns the enemy. Ez. But I also want my hero to move instantly to the target unit and have a percent chance of knocking the enemy back some distance. I gave up on the knocking back part. But I need to be able to have my hero move to the target unit, I try doing this with move unit trigger facing position. Events Unit - A unit (Stops or Start) casting an ability Conditions (Ability being cast) Equal to Dash Attack Actions Unit - Move (Triggering unit) instantly to (Target point of issued order), facing (Center of (Playable map area)) Unit - Move (Targeted unit) instantly to ((Position of (Triggering unit)) offset by ((Random real number between -125.00 and 125.00), (Random real number between -125.00 and 125.00))), facing (Position of (Triggering unit)) Ive try target point of issuse order, unit being attack, unit of issue order but none of it seems to works. |
| 11-24-2003, 08:09 PM | #2 |
You need to use UWE for that function to work or you need to define the 'Target unit of issue order' into a variable without using UWE A post shows how to define the target unit of issue order ---> http://www.wc3campaigns.com/forums/s...t=spell+target |
