Mass kill

P

Pyros

Guest
How would I make a trigger that kills all units in a region? Thanks for your help :D
 

Quauhtli

I have the right to remain silent.
Reaction score
62
it is adviced to do Triggering unit, since that is MUI, entering unit might not work if somehow two units enter EXACTLY at the same time

u can also use conditions to pick specific units that die
 

R@d14nc3

New Member
Reaction score
49
>it is adviced to do Triggering unit, since that is MUI, entering unit might not work if somehow two units enter EXACTLY at the same time

Thanks, I'll remember that
 

lh2705

Just another Helper
Reaction score
111
it is adviced to do Triggering unit, since that is MUI, entering unit might not work if somehow two units enter EXACTLY at the same time

u can also use conditions to pick specific units that die

i don't think so...
What are the odds of 2+ people entering a region at Exactly the same time...count in the delay and movespeed...
And i don't think that its not MUI since it has no timers/waits..
 
M

Malygos

Guest
He say kill all unit in region; i dont think he mean entering a region

Events
Actions
Unit Group - Pick every unit in (Units in (*Region*)) and do (Unit - Kill (Picked unit))
 

Chocobo

White-Flower
Reaction score
409
it is adviced to do Triggering unit, since that is MUI, entering unit might not work if somehow two units enter EXACTLY at the same time

u can also use conditions to pick specific units that die

Again, why a MUI trigger wouldn't work if it is specified to have multiple works at same time?

Two units can not enter at same time in a rect. You can create 2 units at a point with a trigger, but since they are 2 differant lines, they won't fire at same time.

I know a way to run 2 functions at same time, but it is quite useless.
 

Quauhtli

I have the right to remain silent.
Reaction score
62
yes i know
but:
in some ways it WILL be needed for MUI,
it just depends on the situation
 

N2o)

Retired.
Reaction score
51
it is adviced to do Triggering unit, since that is MUI, entering unit might not work if somehow two units enter EXACTLY at the same time

u can also use conditions to pick specific units that die

Wrong . . . Else Triggering Unit would somehow if they both entered on the exact same time would make it non-MUI
as r@d said, add this :

Custom script: set bj_WantDestroyGroup = true

You should set the group to a variable and then destroy it with:
Custom Script: call DestroyGroup (udg_yourvar)
It's better that way
 

Mr Zero

Junior Regular (Got the T-shirt)
Reaction score
64
You should set the group to a variable and then destroy it with:
Custom Script: call DestroyGroup (udg_yourvar)
It's better that way
It does not matter. bj_wantDestroyGroup and call DestroyGroup has the same effect, but call DestroyGroup you will need to asign the variable, while bj_wantDestroyGroup will automaticly do it for you.

:)
 

SFilip

Gone but not forgotten
Reaction score
634
> entering unit might not work if somehow two units enter EXACTLY at the same time
Wrong, entering unit works the same way triggering unit does.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top