anders@dac.se 0 Posted July 17, 2002 i enter this this in a civillian unit init field. removeAllWeapons this; this addWeapon "AK47"; this addMagazine "AK47" it gives the unit the AK47; but no ammo... what am i doing wrong? Share this post Link to post Share on other sites
Ex-RoNiN 0 Posted July 17, 2002 Add the magazines before adding the weapon Share this post Link to post Share on other sites
anders@dac.se 0 Posted July 17, 2002 i know.. ive tried that also, forgot to add that to the thread... could it be that civ units cant carry ammo? Share this post Link to post Share on other sites
InqWiper 0 Posted July 17, 2002 Maybe there is no magazine called AK47, try with AK74. Share this post Link to post Share on other sites
InqWiper 0 Posted July 17, 2002 Ok, I just tried adding an AK47 and magazine to a civilian and it worked. this addmagazine "AK47";this addweapon "AK47" Share this post Link to post Share on other sites
Trilon 0 Posted July 17, 2002 Uh....I dont know what you're doing wrong but it works fine for me. AK47 is a valid magazine type btw. </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">removeAllWeapons this; this addMagazine "AK47"; this addMagazine "AK47"; this addMagazine "AK47"; this addWeapon "AK47"<span id='postcolor'> Share this post Link to post Share on other sites
Trilon 0 Posted July 17, 2002 Ya beat me to it InqWiper! Share this post Link to post Share on other sites
InqWiper 0 Posted July 17, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Ya beat me to it InqWiper!<span id='postcolor'>  Aint life a bitch  Share this post Link to post Share on other sites