{"name":"weaponLowered","operator":null,"title":"weaponLowered","type":"command","url":"https://community.bistudio.com/wiki/weaponLowered","revid":341169,"updated":"2023-05-13T22:13:14Z","groups":["Object Manipulation","Weapons"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma3","name":"Arma 3","version":"0.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns true if given soldier's weapon is lowered. \n\n> [!IMPORTANT]\n> This command will **always** return false if player is sprinting, even without a weapon. Alternatively, the weapon raised state could be obtained via animationState command `...slow...` vs `...sras...`","syntaxes":[{"syntax":"weaponLowered unit","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"unary","operator":null,"left":null,"right":{"text":"unit","types":["Object"]}}],"examples":[{"text":"```sqf\nisWeaponLowered = weaponLowered player;\n```","code":["isWeaponLowered = weaponLowered player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["stance","unitPos","animationState"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Command Group: Weapons","Introduced with Arma 3 version 0.50","Scripting Commands"]}