- Joined
- Jul 31, 2004
- Messages
- 108
Does anyone know what I can use like in this trigger
Level 1 Player Death 02
Events
Unit - A unit comes within 60.00 of Chicken 0000 <gen>
Conditions
Actions
For each (Integer A) from 0 to 50, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to Peta_ProbeL1_02[(Integer A)]
Then - Actions
Unit - Kill Chicken 0000 <gen>
Unit - Kill Peta_ProbeL1_02[(Integer A)]
Else - Actions
Do nothing
For each (Integer A) from 0 to 50, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to Peta_ProbeL1_02[(Integer A)]
Then - Actions
Set Peta_ProbeL1_02[(Integer A)] = No unit
Custom script: set bj_forLoopAIndex = 51
Else - Actions
Do nothing
Can I use Unit - Kill (Matching Unit) or something else? It'd be a lot of help instead of making, however many more random spawn triggers, player 1 death 01, 02, 03, 04 X 9 each.
Thanks,
PalidinMaster3
Level 1 Player Death 02
Events
Unit - A unit comes within 60.00 of Chicken 0000 <gen>
Conditions
Actions
For each (Integer A) from 0 to 50, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to Peta_ProbeL1_02[(Integer A)]
Then - Actions
Unit - Kill Chicken 0000 <gen>
Unit - Kill Peta_ProbeL1_02[(Integer A)]
Else - Actions
Do nothing
For each (Integer A) from 0 to 50, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to Peta_ProbeL1_02[(Integer A)]
Then - Actions
Set Peta_ProbeL1_02[(Integer A)] = No unit
Custom script: set bj_forLoopAIndex = 51
Else - Actions
Do nothing
Can I use Unit - Kill (Matching Unit) or something else? It'd be a lot of help instead of making, however many more random spawn triggers, player 1 death 01, 02, 03, 04 X 9 each.
Thanks,
PalidinMaster3