[LuDo]-CamuS
New Member
- Reaction score
- 2
hi guys. im makin this orbiting-ball-around-the-caster spell and i dont no but when the effect finishes, if i cast the spell again, the orb wont show again.. plz someone check my triggers =(
NOTE: Orb proces is initialy off
please someone help ill +rep
Code:
orb begin
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Orbiting
Actions
Set caster = (Casting unit)
Unit - Create 1 orb for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 200.00 towards 0.00 degrees) facing Default building facing degrees
Set orb = (Last created unit)
Trigger - Turn on orb proces <gen>
Code:
orb proces
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Unit - Move orb instantly to ((Position of caster) offset by 200.00 towards ((Angle from (Position of caster) to (Position of orb)) + 3.00) degrees)
Wait (10.00 x (Real((Level of Orbiting for caster)))) seconds
Unit - Kill orb
Set orb = No unit
Set caster = No unit
Trigger - Turn off (This trigger)
NOTE: Orb proces is initialy off
please someone help ill +rep