focusOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.16 |branch= dev |gr1= Camera Control |descr= Returns the person the camera is focused on. If you need the vehicle, see camera...")
 
No edit summary
Line 6: Line 6:


|gr1= Camera Control
|gr1= Camera Control
|gr2= Remote Control


|descr= Returns the person the camera is focused on. If you need the vehicle, see [[cameraOn]].
|descr= Returns the person the camera is focused on. If you need the vehicle, see [[cameraOn]].
Line 15: Line 16:
|x1= <sqf>_object = focusOn;</sqf>
|x1= <sqf>_object = focusOn;</sqf>


|seealso= [[switchCamera]] [[cameraView]] [[cameraEffect]] [[cameraOn]]
|seealso= [[switchCamera]] [[cameraView]] [[cameraEffect]] [[cameraOn]] [[remoteControl]]
}}
}}

Revision as of 09:54, 5 September 2023

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.16.

Description

Description:
Returns the person the camera is focused on. If you need the vehicle, see cameraOn.
Groups:
Camera ControlRemote Control

Syntax

Syntax:
focusOn
Return Value:
Object - person

Examples

Example 1:
_object = focusOn;

Additional Information

See also:
switchCamera cameraView cameraEffect cameraOn remoteControl

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