cameraOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (example)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object]] <nowiki>=</nowiki> '''cameraOn''' |= Syntax
| [[Object]] <nowiki>=</nowiki> [[cameraOn]] |= Syntax
 
|x1= <code>_object = [[cameraOn]];</code> |Example 1=


| [[Object]] |= Return value
| [[Object]] |= Return value

Revision as of 11:31, 8 June 2018

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns the vehicle to which the camera is attached.
Groups:
Uncategorised

Syntax

Syntax:
Object = cameraOn
Return Value:
Object

Examples

Example 1:
_object = cameraOn;

Additional Information

See also:
switchCameracameraViewcameraEffect

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

Posted on November 2, 2015 - 15:50 (UTC)
Mizzle420420
_MyScreenPos = getPos cameraOn; This would getPos for the current player or vehicle that the client's camera is attached to. _CameraOnSetPos = cameraOn setPos _pos; This would do setPos for the current player or vehicle that the client's camera is attached to.