(01-17-2015, 02:13 PM)Fuiba link Wrote: Thank you very much, I appreciate all the help! I tried the mission with the init.sqf you just posted, but none of the loadouts have changed from default. I'm not sure what's wrong.
Weird... let me verify this again... brb...
Works here, but I think I know why... are you testing in the standard single player editor? If so, playableUnits works only in multiplayer. In singleplayer, you need to use switchableUnits. Replace the line
} foreach playableUnits;
with
} foreach (switch (isMultiplayer) do { case true: {playableUnits}; default {switchableUnits};});
This will make sure that the mission works in both single and mutliplayer.
I don't need luck, I have ammo.