{"name":"BIS_fnc_baseWeapon","operator":null,"title":"BIS fnc baseWeapon","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_baseWeapon","revid":349362,"updated":"2023-11-08T15:35:11Z","groups":["Weapons"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Determines base weapon class, with no attachments.","syntaxes":[{"syntax":"[weaponName] call BIS_fnc_baseWeapon","since":null,"effect":null,"exec":null,"params":[{"name":"weaponName","type":"String","optional":false,"default":null,"description":"weapon classname.","types":["String"],"since":null,"text":"weaponName: String - weapon classname."}],"returns":{"type":"String","types":["String"],"description":"weapon classname that features no attachments.","text":"String - weapon classname that features no attachments."}}],"examples":[{"text":"```sqf\n[\"arifle_Mk20_MRCO_pointer_F\"] call BIS_fnc_baseWeapon; // Returns \"arifle_Mk20_F\"\n```","code":["[\"arifle_Mk20_MRCO_pointer_F\"] call BIS_fnc_baseWeapon; // Returns \"arifle_Mk20_F\""]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_weaponAddon","BIS_fnc_addWeapon"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Weapons","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}