- Joined
- Jun 27, 2010
- Messages
- 3,401
the spell is warlock's demonic circle. the IF here aims to make and effect fire emitter for 2 seconds in the location where the warlock wwas before he teleport. the emitter does not show up, why?
-
Demonic Circle release
-

Events
-


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

Conditions
-


(Ability being cast) Equal to Demonic Circle
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Warlock_DC_BurnGround Equal to True
-
-



Then - Actions
-




Set Warlock_DC_Burn_Pos = (Position of Hero_units[7])
-




Special Effect - Create a special effect at Warlock_DC_Burn_Pos using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter
-




Set Warlock_DC_Burn_effect = (Last created special effect)
-




Set Warlock_DC_burnGroundUnits = (Units within 50.00 of Warlock_DC_Burn_Pos)
-




Unit Group - Pick every unit in Warlock_DC_burnGroundUnits and do (Actions)
-





Loop - Actions
-






Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 100.00)
-
-
-




Wait 2.00 seconds
-




Custom script: call DestroyGroup(udg_Warlock_DC_burnGroundUnits)
-




Custom script: call RemoveLocation(udg_Warlock_DC_Burn_Pos)
-




Special Effect - Destroy Warlock_DC_Burn_effect
-
-



Else - Actions
-
-


Special Effect - Destroy Warlock_DC_Effect
-


Unit - Move Hero_units[7] instantly to Warlock_DC_Loc
-


Camera - Pan camera for (Owner of Hero_units[7]) to (Position of Hero_units[7]) over 0.00 seconds
-


Trigger - Turn off (This trigger)
-


Trigger - Turn on Demonic Circle cast <gen>
-


Custom script: call RemoveLocation(udg_Warlock_DC_Loc)
-
-
