- Joined
- Jun 26, 2019
- Messages
- 318
Hello all. I need help how to get this to be as buff barrier. I want this Wrap Field ability to be stay following the unit who casted this Wrap Field as buff barrier, you know? Because I want this unit to be able to push the enemy units.
-
Warp Field
-
Events
-
Time - Elapsed game time is 5.00 seconds
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in Region 001 <gen>) and do (Actions)
-
Loop - Actions
-
Set Warper = (Picked unit)
-
Set WarperCastPoint = (Position of (Picked unit))
-
For each (Integer A) from 1 to 36, do (Actions)
-
Loop - Actions
-
Unit - Create 1 Dummy for (Owner of Warper) at WarperCastPoint facing ((Real((Integer A))) x 10.00) degrees
-
Set barrier[(Integer A)] = (Last created unit)
-
Sound - Play BlinkArrival1 <gen> at 100.00% volume, attached to (Last created unit)
-
-
-
-
-
Trigger - Turn on Warping <gen>
-
Wait 30.00 seconds
-
Trigger - Turn off Warping <gen>
-
For each (Integer A) from 1 to 9, do (Actions)
-
Loop - Actions
-
Wait (0.01 / 100.00) seconds
-
Sound - Play BlinkArrival1 <gen> at 100.00% volume, attached to barrier[(Integer A)]
-
Unit - Remove barrier[(Integer A)] from the game
-
Sound - Play BlinkArrival1 <gen> at 100.00% volume, attached to barrier[((Integer A) + 9)]
-
Unit - Remove barrier[(Integer(((Real((Integer A))) + 9.00)))] from the game
-
Sound - Play BlinkArrival1 <gen> at 100.00% volume, attached to barrier[((Integer A) + 18)]
-
Unit - Remove barrier[(Integer(((Real((Integer A))) + 18.00)))] from the game
-
Sound - Play BlinkArrival1 <gen> at 100.00% volume, attached to barrier[((Integer A) + 27)]
-
Unit - Remove barrier[(Integer(((Real((Integer A))) + 27.00)))] from the game
-
-
-
-
-
Warping
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units within 435.00 of WarperCastPoint matching ((((Matching unit) belongs to an enemy of (Owner of Warper)) Equal to True) and (((Matching unit) is A ground unit) Equal to True))) and do (Actions)
-
Loop - Actions
-
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 1.50 towards (Angle from WarperCastPoint to (Position of (Picked unit))) degrees)
-
Sound - Play ManaDrainTarget1 <gen> at 100.00% volume, attached to (Picked unit)
-
-
-
-
Attachments
Last edited by a moderator: