major_winters 0 Posted March 31, 2003 Hi, I wanna have a BAS Delta guy with m14aimpoint fire 2 magazines with his m14, then switch to his glock17 for a mag, then do 2 more m14 mags then 1 glock mag, then the rest his m14. Its just I want to recreate where Shuggart and Gordon 'try' to defend Durants Crash site in Blackhawk down, they're always switching from primary to pistol when their weapons are dry. Thanks Matt Share this post Link to post Share on other sites
MintyBoy 0 Posted March 31, 2003 Copy and pasted from the oficial command reference: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> unit selectWeapon weapon Operand types: unit: Object weapon: String Compatibility: Version 1.27 required. Type of returned value: Nothing Description: Select given weapon. For weapon values see CfgWeapons. Example: soldierOne selectWeapon "LAWLauncher" <span id='postcolor'> Use that in a trigger/script, with the relevant weapon names and Bob's yer uncle. Oooh, you'll need to figure this one out as well: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> unit ammo magazine Operand types: unit: Object magazine: String Type of returned value: Number Description: Count how many shots are left for given magazine type. Example: player ammo "M16" <span id='postcolor'> Never actually used that command myself, so I don't know if it gets actual rounds left (looks like it should) or total clips, or what.. Oh, yeah- Download the comref (downloads section of flashpoint 1985.com). It's well handy. Share this post Link to post Share on other sites
major_winters 0 Posted March 31, 2003 Thanks Minty, I shall do that, infact, the guy with the m14 uses his pistol when the Somalians get close enough, the guy with the supressed m4 just keeps firing until he gets shot in the head! (Trigger)!! Share this post Link to post Share on other sites