camCreate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|") |
||
Line 53: | Line 53: | ||
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: Camera Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command Group: Camera Control|{{uc:{{PAGENAME}}}}]] |
Revision as of 16:47, 3 June 2020
Description
- Description:
- Create a camera or a seagull object on the given position. The creation happens immediately and doesn't wait for camCommit.
Among other commands, cameraEffect must be used to enter the camera's view and camDestroy to delete the created camera. See also Camera Control.
- Multiplayer:
- camCreated objects are only visible locally (meaning they are client-side effects).
- Groups:
- Uncategorised
Syntax
- Syntax:
- type camCreate position
- Parameters:
- type: String - camera type, one of the following:
- "camera"
- "seagull" (a crow in Arma 2)
- "camconstruct"
- "camcurator" (Since Arma 3 Zeus)
- "crowe" (crow - Arma 3)
- or any vehicle class suitable to be spawned with cam
- position: Array - format PositionAGL - position to create the object at
- Return Value:
- Object - the created camera
Examples
- Example 1:
_cam = "camera" camCreate (ASLToAGL eyePos player);
- Example 2:
_flr = "flare" camCreate (position _myPlane); // works too
Additional Information
- See also:
- Camera ControlcamCommandcamDestroycamSetFocuscamCommitsetPiPEffectcreateVehiclecreateUnitshowCinemaBordercameraEffectcameraEffectEnableHUD
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- Scripting Commands Armed Assault
- Scripting Commands Arma 2
- Scripting Commands Take On Helicopters
- Scripting Commands Arma 3
- Command Group: Camera Control