P
Pyros
Guest
How would I make a trigger that kills all units in a region? Thanks for your help
Events:
Unit enters <region>
Actions:
Kill (Entering Unit)
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
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
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
as r@d said, add this :
Custom script: set bj_WantDestroyGroup = true
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.You should set the group to a variable and then destroy it with:
Custom Script: call DestroyGroup (udg_yourvar)
It's better that way
> 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.