camCreate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
m (Text replacement - "\{\{codecomment *\| *\/\/ ([a-zA-Z _.:-]+) *\}\}" to "{{cc|$1}}")
Line 32: Line 32:
|x1= <code>_cam = "camera" [[camCreate]] ([[ASLToAGL]] [[eyePos]] [[player]]);</code>
|x1= <code>_cam = "camera" [[camCreate]] ([[ASLToAGL]] [[eyePos]] [[player]]);</code>


|x2= <code>_flr = "flare" [[camCreate]] ([[position]] _myPlane); {{codecomment|// works too}}</code>
|x2= <code>_flr = "flare" [[camCreate]] ([[position]] _myPlane); {{cc|works too}}</code>


|mp= camCreated objects are only visible locally (meaning they are client-side effects).
|mp= camCreated objects are only visible locally (meaning they are client-side effects).

Revision as of 15:37, 7 February 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:
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:
See also needed

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