Jump to content
Sign in to follow this  
chammy

How do find addons not listed in editor?

Recommended Posts

I was wondering, since there are a ton more addons available , like the FAL, G3, G36, Styer, and countless other addons, how do we call the up or try them out in the editor when they are not even listed in the editor? sad_o.gif

Share this post


Link to post
Share on other sites

You need to use script commands. Go to the WIKI and look up the commands addWeapon, addMagazine and removeAllWeapons. All weapon/magazine class names are also found there.

edit : add the magazines first, so the weapon starts with ammo loaded. For example, place this in the init box of a soldier to start with the M107 with 2 mags:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">removeAllWeapons this; this addMagazine "10Rnd_127x99_M107"; this addMagazine "10Rnd_127x99_M107"; this addWeapon "M107"

Share this post


Link to post
Share on other sites

Thanks guy, I'm checking it out now.

Share this post


Link to post
Share on other sites

I tried adding "this", but for some reason it wasnt working, I think I need to try it aain, I was naming the unit like a1, then using a1 addweapon "javalin"

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  

×