- Joined
- Mar 27, 2009
- Messages
- 195
hey ihave got a problem with a wait action:
-
MySpell
-
Events
-
Einheit - A unit starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Gleich MySpell
-
-
Actions
-
Custom script: local integer udg_BK_index
-
Set BK_index = (Player number of (Owner of (Triggering unit)))
-
Set BK_loc[BK_index] = (Target point of ability being cast)
-
Set BK_caster[BK_index] = (Triggering unit)
-
Set BK_damagegroup[BK_index] = (Units within 512.00 of BK_loc[BK_index] matching (((Matching unit) belongs to an enemy of (Owner of BK_caster[BK_index])) Gleich True))
-
Specialeffect - Create a special effect at BK_loc[BK_index] using Objects\Spawnmodels\Demon\InfernalMeteor\InfernalMeteor2.mdl
-
Specialeffect - Destroy (Last created special effect)
-
Wait 2.40 seconds
-
Specialeffect - Create a special effect at BK_loc[BK_index] using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
-
Specialeffect - Destroy (Last created special effect)
-
Unitgroup - Pick every unit in BK_damagegroup[BK_index] and do (Actions)
-
Loop - Actions
-
Unit - Cause BK_caster[BK_index] to damage (Picked unit), dealing 1000.00 damage of attack type XY and damage type Normal
-
-
-
Unit - Order BK_caster[BK_index] to Stop
-
Custom script: call RemoveLocation (udg_BK_loc[udg_BK_index])
-
Custom script: call DestroyGroup (udg_BK_damagegroup[udg_BK_index])
-
-
-
Unit - Cause BK_caster[BK_index] to damage (Picked unit), dealing 1000.00 damage of attack type XY and damage type Normal
-
Unit - Cause (Triggering Unit) to damage (Picked unit), dealing 1000.00 damage of attack type XY and damage type Normal