{"name":"camSetPos","operator":null,"title":"camSetPos","type":"command","url":"https://community.bistudio.com/wiki/camSetPos","revid":377590,"updated":"2026-01-02T06:58:01Z","groups":["Camera Control"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":"local","effect":"local","server_exec":false},"exec":null,"description":"Sets the position of the given camera or seagull (see camCreate).\nIt is worth mentioning that camera position can also be set with setPos, in which case it would be instant.\nWith camSetPos it is possible to make smooth position transition in time, defined with camCommit, which is required in this case.","syntaxes":[{"syntax":"camera camSetPos position","since":null,"effect":null,"exec":null,"params":[{"name":"camera","type":"Object","optional":false,"default":null,"description":"object of type \"camera\" or \"seagull\"","types":["Object"],"since":null,"text":"camera: Object - object of type \"camera\" or \"seagull\""},{"name":"position","type":"PositionAGL","optional":false,"default":null,"description":"camera destination","types":["PositionAGL"],"since":null,"text":"position: PositionAGL - camera destination"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"camera","types":["Object"]},"right":{"text":"position","types":["PositionAGL"]}}],"examples":[{"text":"```sqf\n_cam camSetPos [2300, 1000, 130];\n_cam camCommit 10;\n```","code":["_cam camSetPos [2300, 1000, 130];\n_cam camCommit 10;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["camSetRelPos","setPos"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Camera Control","Introduced with Operation Flashpoint version 1.00","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Scripting Commands: Local Effect","Take On Helicopters: Scripting Commands"]}