{"name":"isWeaponRested","title":"isWeaponRested","type":"command","url":"https://community.bistudio.com/wiki/isWeaponRested","revid":379361,"updated":"2026-10-30T23:56:16Z","groups":["Weapons"],"status":"ok","games":{"arma3":"1.42"},"since":"arma3 1.42","arma3_since":"1.42","locality":{"argument":"local"},"description":"Returns true if weapon is currently rested.","syntaxes":[{"syntax":"isWeaponRested unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Boolean","type_expr":"Boolean"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_rest = isWeaponRested player;"]}],"see_also":["isWeaponDeployed","canDeployWeapon"],"notes":[{"user":"AgentRev","date":"2015-07-01T16:44:00Z","text":"You can force a unit out of bipod or resting with:\n\n```sqf\n_unit playMove \"\";\n```"},{"user":"Killzone_Kid","date":"2015-07-12T11:00:00Z","text":"As of 1.49\n\n```sqf\nisWeaponRested player;\n```\n\nis the only current use of this command. You cannot detect remote player and you cannot detect local unit that is not a player. Might as well be a nullar command without argument."}]}