- Joined
- Mar 15, 2005
- Messages
- 112
Yo I'm practicing with local variables but having trouble with em. Could someone tell me what is wrong with this?
-
Casted
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


Death Spiral Equal to (==) (Ability being cast)
-
-

Actions
-


Custom script: local point p0
-


Custom script: local point p1
-


Custom script: local integer i1
-


Custom script: local integer i2
-


Custom script: local effect e1
-


Custom script: set p0 = GetSpellTargetLoc()
-


Custom script: set i1 = 0
-


Custom script: set i2 = 90
-


Custom script: set p1 = PolarProjectionBj(p0, i1, i2)
-


Custom script: loop
-


Custom script: exitwhen i2 == 360
-


Wait 0.10 seconds
-


Special Effect - Create a special effect at (p1) using Units\Human\HeroBloodElf\BloodElfBall.mdl
-


Custom script: set e1 = GetLastCreatedEffectBJ()
-


Custom script: set i1 = i1 + 10
-


Custom script: set i2 = i2 + 30
-


Custom script: set p1 = PolarProjectionBj(p0, i1, i2)
-


Custom script: call DestroyEffect (e1)
-


Custom script: call removelocation (p1)
-


Custom script: endloop
-
-





