camTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 15: Line 15:
|gr1= Camera Control
|gr1= Camera Control


| Returns camera's target.
|descr= Returns camera's target.


|s1=  '''camTarget''' camera
|s1=  '''camTarget''' camera

Revision as of 21:00, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns camera's target.
Groups:
Camera Control

Syntax

Syntax:
camTarget camera
Parameters:
camera: Object -
Return Value:
Object

Examples

Example 1:
_someObject = camTarget _camera;

Additional Information

See also:
camSetTarget

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