will a pick units in group action run once if no units are in the group?
Nov 6, 2009 #1 Gtam Lerning how to write and read!! Yeah. Reaction score 164 will a pick units in group action run once if no units are in the group?
Nov 6, 2009 #2 jackall You can change this now in User CP. Reaction score 37 try this: Trigger: show IDs Events Time - Every 2.00 seconds of game time Conditions Actions Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) is A structure) Equal to True)) and do (Actions) Loop - Actions Game - Display to (All players) the text: (String((Key (Picked unit)))) it didnt show me any messages so i dont think it loops
try this: Trigger: show IDs Events Time - Every 2.00 seconds of game time Conditions Actions Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) is A structure) Equal to True)) and do (Actions) Loop - Actions Game - Display to (All players) the text: (String((Key (Picked unit)))) it didnt show me any messages so i dont think it loops
Nov 6, 2009 #3 Hektor New Member Reaction score 3 For every unit in the group, it will do actions. So, if there are no units, it won't do anything.
Nov 6, 2009 #4 N NetherHawk New Member Reaction score 26 No it will not run any of the actions, the actions are run for each unit that is picked and added to the group.
No it will not run any of the actions, the actions are run for each unit that is picked and added to the group.