camTarget: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 9: Line 8:




____________________________________________________________________________________________


| Returns camera's target. |DESCRIPTION=
| Returns camera's target. |DESCRIPTION=
____________________________________________________________________________________________


| '''camTarget''' camera |SYNTAX=
| '''camTarget''' camera |SYNTAX=
Line 27: Line 24:
|x1= <code>_someObject = [[camTarget]] _camera;</code>|EXAMPLE1=  
|x1= <code>_someObject = [[camTarget]] _camera;</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[camSetTarget]] |SEEALSO=  
| [[camSetTarget]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 00:18, 17 January 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

Notes

Bottom Section