NeuroToxin
New Member
- Reaction score
- 46
I know its not MUI, but I do know the Siphon Life is, Ill post it anyways, the wisp wont move, and IDK why, kthanks
Trigger:
- Create The Wisp
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (==) Wisp Drain
- Actions
- Set wispcaster = (Triggering unit)
- Set cposition = (Position of wispcaster)
- Set TargetUnitPosition = (Target point of ability being cast)
- Set Movingtheunit = (Integer((Distance between TargetUnitPosition and TargetUnitPosition)))
- Set MoveUnit = (Movingtheunit / 375)
- Set OffsetAngle = (Integer((Angle from cposition to TargetUnitPosition)))
- Set OffsetPoint = (cposition offset by 50.00 towards (Real(OffsetAngle)) degrees)
- Unit - Create 1 dummy_unit for (Owner of wispcaster) at OffsetPoint facing (Real(OffsetAngle)) degrees
- Set Dummy_Unit = (Last created unit)
- Unit - Add a 15.00 second Generic expiration timer to Dummy_Unit
- Countdown Timer - Start Timer as a One-shot timer that will expire in 15.00 seconds
- Trigger - Turn on Move The Wisp <gen>
- Trigger - Add to Unit Comes within <gen> the event (Unit - A unit comes within 135.00 of Dummy_Unit)
- Events
Trigger:
- Unit Comes within
- Events
- Conditions
- Actions
- Unit - Order Dummy_Unit to Neutral Alchemist - Acid Bomb (Triggering unit)
Trigger:
- Move The Wisp
- Events
- Time - Every 0.04 seconds of game time
- Conditions
- Actions
- Set Dummy_Unit_Pos = (Position of Dummy_Unit)
- Unit - Move Dummy_Unit instantly to (OffsetPoint offset by 0.60 towards (Real(OffsetAngle)) degrees)
- Custom script: call RemoveLocation(udg_Dummy_Unit_Pos)
- Events
Trigger:
- Stop all
- Events
- Time - Timer expires
- Conditions
- Actions
- Trigger - Turn off Move The Wisp <gen>
- Set wispcaster = No unit
- Set Dummy_Unit = No unit
- Set OffsetAngle = 0
- Set Movingtheunit = 0
- Set MoveUnit = 0
- Custom script: call RemoveLocation(udg_Dummy_Unit_Pos)
- Custom script: call RemoveLocation(udg_cposition)
- Custom script: call RemoveLocation(udg_OffsetPoint)
- Custom script: call RemoveLocation(udg_TargetUnitPosition)
- Events