camPreparePos: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *F([a-z ])" to "$1 - f$2")
mNo edit summary
 
Line 24: Line 24:
|p1= camera: [[Object]]
|p1= camera: [[Object]]


|p2= position: [[Array]] - format [[Position]]
|p2= position: [[Position]]


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 02:59, 3 January 2026

Hover & click on the images for description

Description

Description:
Prepares the camera position. Needs the call of camCommitPrepared to be conducted.
Groups:
Camera Control

Syntax

Syntax:
camera camPreparePos position
Parameters:
camera: Object
position: Position
Return Value:
Nothing

Examples

Example 1:
_camera camPreparePos getPos player;

Additional Information

See also:
camPreload camCommitPrepared camSetPos

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note