- Joined
- Jun 20, 2017
- Messages
- 380
How can I disable some towers near enemy before x minutes? (but you can build towers over x range), and can I use wait and then turning off the trigger?! (on the first trigger) instead of making 2?
Also somehow this trigger doesn't work very well, sometimes the unit moves sometimes not, and when I pick that item and use again the ability then I will move back to that place without the item!
-
Disable structure near vampires
-
Events
-
Unit - A unit Begins construction
-
-
Conditions
-
Multiple ConditionsOr - Any (Conditions) are true
-
Conditions
-
(Unit-type of (Constructing structure)) Equal to (==) Boulder Tower
-
(Unit-type of (Constructing structure)) Equal to (==) Boulder Tower (Super)
-
(Unit-type of (Constructing structure)) Equal to (==) Boulder Tower (Ultra)
-
-
-
-
Actions
-
Set Point_Building = (Position of (Constructing structure))
-
Set UnitGroup = (Units within 256.00 of Point_Building matching (((Matching unit) belongs to an enemy of (Owner of (Constructing structure))) Equal to (==) True))
-
Unit Group - Pick every unit in UnitGroup and do (Actions)
-
Loop - Actions
-
Unit - Remove (Picked unit) from the game
-
-
-
Custom script: call DestroyGroup(udg_UnitGroup)
-
-
-
Enable structure near vampires
-
Events
-
Time - Elapsed game time is 1080.00 seconds
-
-
Conditions
-
Actions
-
Trigger - Turn off Disable structure near vampires <gen>
-
-
-
Random Teleport
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to (==) Random Teleport [Human]
-
-
Actions
-
Set Item_RandomTeleport = (Random item in (Playable map area))
-
Set Point_Item = (Position of Item_RandomTeleport)
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of Item_RandomTeleport) Equal to (==) Bundle of Lumber
-
-
Then - Actions
-
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Move (Casting unit) instantly to Point_Item
-
Custom script: call RemoveLocation(udg_Point_Item)
-
-
Else - Actions
-
-
-
-