Hero
─║╣ero─
- Reaction score
- 250
In need help with an ability that makes a fire spin around a unit...the only thing i don't get is how do i make the Fireball unit spin around a target unit...
Event
Time - Every .2 seconds of the game
Condition
(FireDur) greater than 0
Action
If/Then/Else
If (Boolean - (FireTarget) is alive equal to True)
Then do nothing
Else
Unit - Remove (Fireball) from the game
Set (FireDur) = 0.00
Trigger - Turn off (This trigger)
Skip remaining actions
Set (FireTargP) = (Position of (FireTarget)
Set (FireDur) = ((Fire Dur) - .2)
[i]Set (FireAngle) = ((FireAngle) + 22.5[/i]
Unit - Move (Fireball) instantly to ((FireTargP) offset by 120 towards (FireAngle))
Unit - Make (Fire) damage (FireTarget) for 4 damage using attack type Chaos and damage type Normal
Custom Script - call RemoveLocation(udg_FireTargP)
Unit - Make (Fire) face (FireAngle + 90) over .2 seconds