- Joined
- Jul 18, 2010
- Messages
- 12
I WEAK TO ENGLISH
setunitx/y with variable
-----------------------------------------------------------------------
My Question
(Set Variables then SetunitX with last setted variables)
How to SetUnitX likes that Trigger without set variable
I would like to fix this , but i can't do it TT
-
Events
-
Conditions
-

Multiple ConditionsAnd - All (Conditions) are true
-


Conditions
-



(Triggering unit) Equal to (==) BMT_ATKED_UNIT
-



(Damage source) Equal to (==) BMT_ATKING_UNIT
-
-
-
-
Actions
-

Trigger - Turn off (This trigger)
-

Set BMT_Target_Location = (Position of (Triggering unit))
-

Set BMT_Blink_Location = (BMT_Target_Location offset by 100.00 towards (Random angle) degrees)
-

Custom script: call SetUnitX ( GetEventDamageSource(), GetLocationX(udg_BMT_Blink_Location))
-

Custom script: call SetUnitY ( GetEventDamageSource(), GetLocationY(udg_BMT_Blink_Location))
-

Special Effect - Destroy (Create a special effect using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl at BMT_Blink_Location)
-

Custom script: call RemoveLocation (udg_BMT_Target_Location)
-

Custom script: call RemoveLocation (udg_BMT_Blink_Location)
-

Unit - Order (Damage source) to Right-Click (Triggering unit)
-

Wait BMT_CD[(Level of Blademaster [Blademaster Ultimath] for (Damage source))] seconds
-

Trigger - Turn on (This trigger)
-
setunitx/y with variable
-----------------------------------------------------------------------
My Question
-
Set BMT_Target_Location = (Position of (Triggering unit))
-

Set BMT_Blink_Location = (BMT_Target_Location offset by 100.00 towards (Random angle) degrees)
-

Custom script: call SetUnitX ( GetEventDamageSource(), GetLocationX(udg_BMT_Blink_Location))
-

Custom script: call SetUnitY ( GetEventDamageSource(), GetLocationY(udg_BMT_Blink_Location))
-
(Set Variables then SetunitX with last setted variables)
How to SetUnitX likes that Trigger without set variable
I would like to fix this , but i can't do it TT





