camCreate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *ofp * *\| *1.([0-9]{2}) * +\|([^g]|g[^a])" to " | ofp |1.$1 |game2= ofpe |version2= 1.00 |game3= arma1 |version3= 1.00 |game4= arma2 |version4= 1.00 |game5= arma2oa |version5= 1.50 |game6= tkoh |version6= 1.00 |game7= arm...)
Line 2: Line 2:


| ofp
| ofp
|1.00
|game2= ofpe
|version2= 1.00
|game3= arma1
|version3= 1.00


|1.00
|game4= arma2
|version4= 1.00
 
|game5= arma2oa
|version5= 1.50
 
|game6= tkoh
|version6= 1.00
 
|game7= arma3
|version7= 0.50


|gr1= Camera Control
|gr1= Camera Control

Revision as of 22:33, 12 June 2021

Hover & click on the images for description

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:
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:
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