{"name":"getPilotCameraPosition","operator":null,"title":"getPilotCameraPosition","type":"command","url":"https://community.bistudio.com/wiki/getPilotCameraPosition","revid":377379,"updated":"2026-01-02T06:43:43Z","groups":["Pilot Camera"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.64"}],"since":{"game":"arma3","name":"Arma 3","version":"1.64"},"arma3_since":"1.64","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Returns model space coordinates of the object airplane or helicopter pilotCamera.","syntaxes":[{"syntax":"getPilotCameraPosition object","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"}],"returns":{"type":"PositionRelative","types":["PositionRelative"],"description":"offset relative to the model centre. Returns [0,0,0] if object has no pilotCamera.","text":"PositionRelative - offset relative to the model centre. Returns [0,0,0] if object has no pilotCamera."},"form":"unary","operator":null,"left":null,"right":{"text":"object","types":["Object"]}}],"examples":[{"text":"```sqf\n_pilotCamPos = getPilotCameraPosition vehicle player;\n```","code":["_pilotCamPos = getPilotCameraPosition vehicle player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["hasPilotCamera","getPilotCameraDirection","getPilotCameraRotation","getPilotCameraTarget","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Pilot Camera","Introduced with Arma 3 version 1.64","Scripting Commands"]}