| 03-19-2004, 05:42 PM | #1 |
Hihi, I am a newb to trigger. I came across a map where a unit do not move, instead, wherever you click, it will just auto blink there. I wish to achieve that without use of ability. So I tried to do the trigger. Ok, I found the trigger for it where it says move unit instantly to target point of order. I tried it in the map and it works. Here is the problem. The unit keep on reverting to face the east. It keeps on facing that fixed direction. How do I set the trigger such that after it auto blink to the location, it will be facing the direction as if how a normal unit will face if I just select it to move there. |
| 03-19-2004, 06:11 PM | #2 |
I think I know what map you mean, I haven't looked at the Triggers but I would do it by making a new version of Blink with a 0 second cooldown and range 9999999 (a very high number) and no mana cost (up to you) then have a trigger detect if the unit is ordered to move somewhere and order the unit to blink there instead. However for sensibility I'd reccomend have it also detect if the target of the order is very close cause not much point blinking right next to you is there? Of course if you wanted a mana cost you'd set the trigger to also check if the unit has enough mana before ordering it to Blink there. Hope that helps |
| 03-20-2004, 06:54 AM | #3 |
Actualy, Event - Unit is givein an order targeting a point Conditions - unit type = footman Action - Move unit instantly to target of order That will do the insta blink thing for a foot man, so everytime u try and move a footman he will go there instantly, like blink, If you want it to look like blink u can add SFX, like Event - Unit is givein an order targeting a point Conditions - unit type = footman Action - Move unit instantly to target of order -Special effect on unit- origin (blink efect) on ordered unit -Special effect on point-(blink efect) at Point of order Then it looks like blink without haveing to cast a spell! [edit] lol oops, didnt read last part, u can set the faceing angle... i think there is move instatly and face angle, but you have to figure out how to make it face taht angle, maybe do angle between casting unit and target of order, will give u the correct angle |
