EDIT: Post Cleanup.
:Mathmatical problems have be resolved, but i still need to know why this code crashes wc3
:Mathmatical problems have be resolved, but i still need to know why this code crashes wc3
- Unit - Add Spells - Track to (Casting unit)
-
Track Cast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Track
-
Actions
- Unit - Order (Casting unit) to Attack (Target unit of ability being cast)
- Set L = (Position of (Casting unit))
- Unit - Create 1 Dummy Unit for (Owner of (Casting unit)) at L facing Default building facing degrees
- Custom script: call RemoveLocation(udg_L)
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Add Track Dummy to (Last created unit)
- Unit - Order (Last created unit) to Undead Necromancer - Unholy Frenzy (Casting unit)
- Unit - Add Spells - Track to (Casting unit)
- Unit - Set level of Damage - Track for (Casting unit) to (Level of Track for (Casting unit))
- Unit - Set level of Speed Bonus - Track for (Casting unit) to (Level of Track for (Casting unit))
-
Events
Last edited: