Destroy unit every 2 Second. [Help]

MuZu

New Member
Reaction score
10
Kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
 
Reaction score
65
Ok i wanna to create a Trigger that destroy unit every 2 second.
Destroy what unit? Every flying unit or what?
E:Every 2 Second of the game
C:Unit is flying unit
A:Kill triggering unit.
Well, that doesn't do anything, there is no triggering unit, the is no unit for the condition, either.

Yes the trigger is correct but i still want a condition that
the unit is not moving anymore is ''='' to true.
Yes, there is something like that:
Order Comparison: (Current order of (Your Unit Here)) Equal to (Order(move))
 

Mr Zero

Junior Regular (Got the T-shirt)
Reaction score
64
(Variables in bold parts)

Code:
Destroy Flying Units
    Events
        Time - Every 2.00 seconds of game time
    Conditions
    Actions
        Set [B]temp_group[/B] = (Units in (Playable map area) matching (((Matching unit) is A flying unit) Equal to True))
        Unit Group - Pick every unit in [B]temp_group[/B] and do (Actions)
            Loop - Actions
                Unit - Kill (Picked unit)
        Custom script:   call DestroyGroup ([B]udg_temp_group[/B])
Variables used
temp_group = Unit Group (Non-Array)

Code:
Check Movement
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Set [B]temp_group[/B] = (Units in (Playable map area) matching ((Current order of (Matching unit)) Equal to (Order(stop))))
        Unit Group - Pick every unit in [B]temp_group[/B] and do (Actions)
            Loop - Actions
                -------- > Your Triggers Here < --------
        Custom script:   call DestroyGroup ([B]udg_temp_group[/B])
Variables used
temp_group = Unit Group (Non-Array)

Hope it helps :)
 

Sim

Forum Administrator
Staff member
Reaction score
534
Your first trigger will kill them even if they are moving (He wishes keep them alive if they are moving).
 

MuZu

New Member
Reaction score
10
nonoo i wish to kill all the dummy unit every 2 second of the game only if the dummy unit stopped moving and stopped attacking. Its like standing there dreaming.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top