this is what i have:
Untitled Trigger 010
Events
Timer - Every 10.0 seconds of Game Time
Local Variables
Conditions
Actions
General - While (Conditions) are true, do (Actions)
Conditions
(Owner of (Triggering unit)) == 8
Actions
Unit Group - Pick each unit in (Any units in (Entire map) owned by player 8 matching Excluded: Missile, Dead, with at most Any Amount) and do (Actions)
Actions
AI - Enable suicide for (Picked unit)
i want it to make all units matching the description (which is everything basically that can move) to attack the nearest unit. Can somone explain to me why it isnt working? and maybe how to make it work XD
thanks in advance
well the event is periodic event, so you cant use triggering unit at all in the actions/conditions, since, no unit actually triggered the event, so take the condition out and it should work
ide like to help more, but my trigger editor currently isnt working at all, sorry
You should just be able to delete the condition and it should pick units by player 8. If you need a condition outside that, you could try adding an If Then under the actions of the Pick Each.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
this is what i have: Untitled Trigger 010 Events Timer - Every 10.0 seconds of Game Time Local Variables Conditions Actions General - While (Conditions) are true, do (Actions) Conditions (Owner of (Triggering unit)) == 8 Actions Unit Group - Pick each unit in (Any units in (Entire map) owned by player 8 matching Excluded: Missile, Dead, with at most Any Amount) and do (Actions) Actions AI - Enable suicide for (Picked unit)
i want it to make all units matching the description (which is everything basically that can move) to attack the nearest unit. Can somone explain to me why it isnt working? and maybe how to make it work XD thanks in advance
well the event is periodic event, so you cant use triggering unit at all in the actions/conditions, since, no unit actually triggered the event, so take the condition out and it should work
ide like to help more, but my trigger editor currently isnt working at all, sorry
You should just be able to delete the condition and it should pick units by player 8. If you need a condition outside that, you could try adding an If Then under the actions of the Pick Each.