OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: tateyou on 01 Jun 2008, 12:03:23
-
the syntax,for example "this addMagazine "30Rnd_556x45_StanagSD " can only add one magazine to the unit,how can i add multiple magazines?
i tried "this addMagazine ["30Rnd_556x45_StanagSD",5]" ,and it doesn't work that way, what's the correct or appropriate syntax? help me!
-
this addMagazine "30Rnd_556x45_StanagSD;this addMagazine "30Rnd_556x45_StanagSD;this addMagazine "30Rnd_556x45_StanagSD;this addMagazine "30Rnd_556x45_StanagSD;this addMagazine "30Rnd_556x45_StanagSD
-
There is no other way? Simple way?
-
ADD THE MAGAZINE 8 TIMES:
{this addMagazine "30Rnd_556x45_StanagSD;} forEach [0,0,0,0,0,0,0,0];(Suitable for INIT Lines)
for "_i" from 0 to 7 do {this addMagazine "30Rnd_556x45_StanagSD;};(Unsure about suitability.)
:P