- Joined
- Aug 20, 2009
- Messages
- 1,554
i am making a spell, where it summons 3 Pool unit, at the location of ability being cast,
then, in the pool area, it will summon some dummys at random position within the area, to cast war stomp. for each of the pool, so, 3 stomps each 0.2 sec.
this is the triggers
then, in the pool area, it will summon some dummys at random position within the area, to cast war stomp. for each of the pool, so, 3 stomps each 0.2 sec.
this is the triggers
-
Blood Pool
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Blood Pool (Tichondrius)
-
-
Actions
-
Set BloodPoint = (Target point of ability being cast)
-
For each (Integer A) from 1 to 3, do (Actions)
-
Loop - Actions
-
Unit - Create 1 Blood Pool Dummy for (Owner of (Triggering unit)) at BloodPoint facing Default building facing degrees
-
Set BloodUnit = (Last created unit)
-
Unit - Add a 7.00 second Generic expiration timer to BloodUnit
-
Animation - Change BloodUnit's animation speed to (9.00 + (6.00 x (Real((Integer A)))))% of its original speed
-
Unit - Set level of Slow Aura 2 70% 20% (Blood Pool) (Tornado) for (Last created unit) to (Level of Blood Pool (Tichondrius) for (Triggering unit))
-
-
-
Trigger - Turn on Blood Periodic <gen>
-
-
-
Blood Periodic
-
Events
-
Time - Every 0.20 seconds of game time
-
-
Conditions
-
Actions
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Equal to Blood Pool Dummy
-
((Picked unit) is alive) Equal to True
-
-
Then - Actions
-
Unit Group - Add (Picked unit) to BloodGroup
-
Game - Display to (All players) the text: Working
-
Set TempPoint = ((Position of (Picked unit)) offset by (Random real number between 0.00 and 400.00) towards (Random angle) degrees)
-
Unit - Create 1 Dummy (Amphibious) for (Owner of (Picked unit)) at TempPoint facing Default building facing degrees
-
Special Effect - Create a special effect at TempPoint using Objects\Spawnmodels\Human\HumanLargeDeathExplode\HumanLargeDeathExplode.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_TempPoint)
-
Animation - Change (Last created unit)'s size to (125.00%, 125.00%, 125.00%) of its original size
-
Unit - Add Blood Pool Spike (Dummy) to (Last created unit)
-
Unit - Set level of Blood Pool Spike (Dummy) for (Last created unit) to (Level of Slow Aura 2 70% 20% (Blood Pool) (Tornado) for (Picked unit))
-
Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
-
-
Else - Actions
-
Unit Group - Remove (Picked unit) from BloodGroup
-
-
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(BloodGroup is empty) Equal to True
-
-
Then - Actions
-
Game - Display to (All players) the text: No unit Detected
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
-
-