camCreate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{uc:{{PAGENAME}}}} " to "") |
Lou Montana (talk | contribs) m (Text replacement - "<br><br> {{Feature" to "{{Feature") |
||
Line 10: | Line 10: | ||
| Create a camera or a seagull object on the given position. The creation happens immediately and doesn't wait for [[camCommit]].<br> | | Create a camera or a seagull object on the given position. The creation happens immediately and doesn't wait for [[camCommit]].<br> | ||
Among other commands, [[cameraEffect]] must be used to enter the camera's view and [[camDestroy]] to delete the created camera. See also [[:Category:Command Group: Camera Control|Camera Control]]. | Among other commands, [[cameraEffect]] must be used to enter the camera's view and [[camDestroy]] to delete the created camera. See also [[:Category:Command Group: Camera Control|Camera Control]].{{Feature|important| | ||
{{Feature|important| | |||
* Other objects can be created this way, but vehicles created with [[camCreate]] cannot be entered | * Other objects can be created this way, but vehicles created with [[camCreate]] cannot be entered | ||
* Any unit created with [[camCreate]] will remain static | * Any unit created with [[camCreate]] will remain static |
Revision as of 20:36, 9 June 2021
Description
- Description:
- Description needed
- Multiplayer:
- camCreated objects are only visible locally (meaning they are client-side effects).
- Groups:
- Camera Control
Syntax
- Syntax:
- Syntax needed
- 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:
- Return value needed
Examples
- Example 1:
_cam = "camera" camCreate (ASLToAGL eyePos player);
- Example 2:
_flr = "flare" camCreate (position _myPlane); // works too
Additional Information
- See also:
- camCommandcamDestroycamSetFocuscamCommitsetPiPEffectcreateVehiclecreateUnitshowCinemaBordercameraEffectcameraEffectEnableHUD
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