drop mine ....

mute

New Member
Reaction score
2
Hello ,
how to make Unit x ( Goblin ) drop mine every 2 sec ,
even while his moving around .
 

NeuroToxin

New Member
Reaction score
46
Well, is it an ability learned? if it is, make it
Trigger:
  • Poop Explosions
    • Events
      • A unit learns an ability
        • Conditions
          • Ability Being Cast = to Pooping Explosions
            • Actions
              • set Temp_Unit = Triggering Unit
                • Trigger - Turn on Timer

Trigger:
  • Timer
    • Events
      • Timer - Every 2 Seconds
        • Conditions
          • Actions
            • set Temp_Point = position of Temp_Unit
              • Unit - Create 1 Goblin Mine at (Position of Temp_Unit)
                • Custom Script (call RemoveLocation(udg_Temp_Point)
 

mute

New Member
Reaction score
2
when i summone Goblin i give them order to move random place and drop mine every 2 sec , with your trigger it didn't work with me .
 

Cheddar

This is the way it was meant to be.
Reaction score
126
EVENTS: Every 2.00 seconds of game time
CONDITIONS:
ACTIONS: Pick all units in (Playable map area) matching (Matching unit) is a (Goblin Mine Dropper Doohickey) and (Matching unit) is dead equal to False and do:
Create 1 (Goblin Land Mine) for Owner of (Picked unit) at (Position of (Picked unit)) facing default building facing degrees

This leaks, by the way.
 

educator

New Member
Reaction score
9
EVENTS: Every 2.00 seconds of game time
CONDITIONS:
ACTIONS: Pick all units in (Playable map area) matching (Matching unit) is a (Goblin Mine Dropper Doohickey) and (Matching unit) is dead equal to False and do:
Create 1 (Goblin Land Mine) for Owner of (Picked unit) at (Position of (Picked unit)) facing default building facing degrees

This leaks, by the way.
EVENTS
every 2 seconds of game time
CONDITIONS:
ACTIONS:
set temp_group = Pick all units in (Playable map area) matching (Matching unit) is a (Goblin Mine Dropper Doohickey) and (Matching unit) is dead equal to False
Pick all units in temp_group and do
loop actions:Create 1 (Goblin Land Mine) for Owner of (Picked unit) at (Position of (Picked unit)) facing default building facing degrees
custom script:call DestroyGroup( udg_temp_group )

and there, a leak free trigger
-NOTE: they custom script is case sensitive (the capital letters and lower case letters HAVE to stay the same as i typed it)
-NOTE: the variable "temp_group" is a unit group variable
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top