deepstrasz
Map Reviewer
- Joined
- Jun 4, 2009
- Messages
- 22,055
I'm trying to use Carrion Swarm to slow down (using a dummy unit) units which are being hit/damaged by it. It seems not to work if I use a picked unit variable as the unit taking damage as seen here:
Don't mind the leaks. It's just a stub.
So, if you've got any idea(s), please lend a hand.
-
Events
-

Unit - A unit Starts the effect of an ability
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-

If - Conditions
-


And - All (Conditions) are true
-



Conditions
-




(Ability being cast) Equal to Arcane Blast (Carrion Swarm)
-
-
-
-

Then - Actions
-


Game - Display to (All players) the text: ARCANE CAST
-


Set ArcaneBlastCasterPoint01 = (Position of (Casting unit))
-


Set ArcaneBlastGroup01 = (Units within 3000.00 of ArcaneBlastCasterPoint01 matching (((Matching unit) belongs to an enemy of Player 4 (Purple)) Equal to True))
-


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



Loop - Actions
-




Game - Display to (All players) the text: GROUP SET
-




Set ArcaneBlastTarget01 = (Picked unit)
-




Trigger - Add to Faceless 3n4 Spell Slow <gen> the event (Unit - ArcaneBlastTarget01 Takes damage)
-
-
-
-

Else - Actions
-


Do nothing
-
-
-
Faceless 3n4 Spell Slow
-

Events
-

Conditions
-

Actions
-


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



If - Conditions
-




And - All (Conditions) are true
-





Conditions
-






(Owner of (Damage source)) Equal to Player 4 (Purple)
-






(Damage taken) Greater than or equal to 140.00
-
-
-
-



Then - Actions
-




Game - Display to (All players) the text: Arcane HITS
-




-------- Slow --------
-




Set ArcaneBlastTargetPoint01 = (Position of ArcaneBlastTarget01)
-




Unit - Create 1 Arcane Blast Slow Caster for Player 4 (Purple) at ArcaneBlastTargetPoint01 facing (Facing of (Picked unit)) degrees
-




Set ArcaneBlastSlow01 = (Last created unit)
-




Unit - Add a 4.00 second Generic expiration timer to ArcaneBlastSlow01
-




Unit - Order ArcaneBlastSlow01 to Human Sorceress - Slow ArcaneBlastTarget01
-
-



Else - Actions
-




Do nothing
-
-
-
-
Don't mind the leaks. It's just a stub.
So, if you've got any idea(s), please lend a hand.
Last edited:




