aphelion79 0 Posted July 17, 2002 OK one problem i put an empty cargo west and try to add </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this addWeaponCargo ["LAWLauncher",10];this addMagazineCargo ["LAWLauncher",10]<span id='postcolor'> I started a new mission, and it works... but in my current one, all it has is M16 and Grenades... same line in Init field... also problem is i try to add in a different "empty" crate </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this addWeaponCargo ["Binocular",1];this addWeaponCargo ["NVGoggles",1]<span id='postcolor'> and that doesen't work either! just a M16 and Grenades... any ideas? Share this post Link to post Share on other sites
InqWiper 0 Posted July 18, 2002 If you got it to work in a new mission but not in the one U are working on I suggest U look closer at Ur new one because U must have messed up somewhere that U didnt mess up in the new mission. The code snippets look correct. Share this post Link to post Share on other sites
Snake Sh_t 0 Posted July 18, 2002 you messed up your code Share this post Link to post Share on other sites
Placebo 29 Posted July 18, 2002 Then show him where he went wrong Share this post Link to post Share on other sites
suchey 0 Posted July 18, 2002 he didnt go wrong...that snippet looks correct...it must be in a different area of the code that is affecting the crate in some manner... Share this post Link to post Share on other sites
aphelion79 0 Posted July 18, 2002 I really dont see how its different... I click Empty AmmoCrate West (or whatever name is) add that in the Init field on the new map, and it works i click Empty AmmoCrate West add that in the init field on my current map and it doesent work... i even copied and pasted it... i've got two ammocrates... maybe they're conflicting... ? or "grouped" some how so the init field is being confused or something i dont know... any ideas? Share this post Link to post Share on other sites