Home   Help Search Login Register  

Author Topic: How to add multiple magazines to the unit?  (Read 3777 times)

0 Members and 1 Guest are viewing this topic.

Offline tateyou

  • Members
  • *
How to add multiple magazines to the unit?
« 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!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: How to add multiple magazines to the unit?
« Reply #1 on: 01 Jun 2008, 12:10:20 »
Code: [Select]
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

Offline tateyou

  • Members
  • *
Re: How to add multiple magazines to the unit?
« Reply #2 on: 01 Jun 2008, 12:23:15 »
There is no other way? Simple way?

Offline Rommel92

  • Members
  • *
Re: How to add multiple magazines to the unit?
« Reply #3 on: 01 Jun 2008, 12:56:39 »
ADD THE MAGAZINE 8 TIMES:

Code: [Select]
{this addMagazine "30Rnd_556x45_StanagSD;} forEach [0,0,0,0,0,0,0,0];(Suitable for INIT Lines)
Code: [Select]
for "_i" from 0 to 7 do {this addMagazine "30Rnd_556x45_StanagSD;};(Unsure about suitability.)
 :P
« Last Edit: 01 Jun 2008, 12:58:27 by Rommel92 »