{"name":"camUseNVG","title":"camUseNVG","type":"command","url":"https://community.bistudio.com/wiki/camUseNVG","revid":369119,"updated":"2024-09-03T10:30:51Z","groups":["Camera Control"],"status":"ok","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","description":"Set / clear using of night vision during cutscenes. This command only works with camCreate created camera that is currently the main camera for the player (see Examples).","syntaxes":[{"syntax":"camUseNVG set","params":[{"name":"set","type":"Boolean","description":"enable/disable night vision","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"set"}}],"examples":[{"code":["camUseNVG true;"]},{"code":["setDate [2000, 12, 31, 0, 0];\n_cam = \"camera\" camCreate [0, 0, 0];\n_cam camSetTarget player;\n_cam camSetRelPos [0, -5, 3];\n_cam cameraEffect [\"Internal\", \"Back\"];\n_cam camCommit 0;\ncamUseNVG true;"]}],"see_also":["setCamUseTI","disableTIEquipment"]}