Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Omg! This trigger should be easy but its not
Omg! This trigger should be easy but its not
04-05-2008, 05:49 PM
#1
Xandramas
How do you have all units owned by a specific player get removed, by way of gui?
04-05-2008, 05:54 PM
#2
Fireeye
Trigger:
Unit Group - Pick every unit in (Units owned by<Your Player>) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
04-05-2008, 05:59 PM
#3
BestZero
it's very simple.
Trigger:
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units owned by "Which Player") and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
EDIT : Ahhhhh duplicated answer.
04-05-2008, 06:14 PM
#4
Xandramas
Thank you