Carnerox
The one and only.
- Reaction score
- 84
I completed a blink strike ability all working i wanted to add some touches here and there, i got stuck. . . How do i make the caster blink behind the target?
I know what to do. I just needed the angles lol.Ok, first change the event of that trigger to "A unit Starts the effect of an ability", and then you also want to (Should ?) clean the two leaks which that trigger contains...
Trigger:
- Blink Example
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Blink
- Actions
- Set BlinkTarget = (Target unit of ability being cast)
- Set BlinkTargetPos = (Position of BlinkTarget)
- Set BlinkDestination = (BlinkTargetPos offset by 100.00 towards ((Facing of BlinkTarget) + 180.00) degrees)
- Unit - Move (Triggering unit) instantly to BlinkDestination, facing (Facing of BlinkTarget) degrees
- Custom script: call RemoveLocation(udg_BlinkTargetPos)
- Custom script: call RemoveLocation(udg_BlinkDestination)
Please use that trigger instead, as it's better to start with cleaning leak early, or it'll be a mess later on when you have MANY triggers which leak