I want to add an action to every unit that are part of a certain array, so i create this line:
{_X addaction [localize "STRM_act1","Common\attack1.sqs"]} foreach east_units
The problem: the action doesn't appear.
The array is crated via trigger that cover the entire map using thislist for add every east units in the east_units array.
I don't receive any error message, simply the action doesn't appear.
I've attepted adding "list" and "units" command after the foreach, but nothing.
This line is called in the init file of the mission.
Any help?
Thanks.
Klavan