Jump to content
Sign in to follow this  
aphelion79

Adding equipment?

Recommended Posts

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

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

Then show him where he went wrong smile.gif

Share this post


Link to post
Share on other sites

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×