BIS fnc camera setCam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00


Line 11: Line 10:
|s1= [camera, cameraInstance] call [[BIS_fnc_camera_setCam]]
|s1= [camera, cameraInstance] call [[BIS_fnc_camera_setCam]]


|p1= camera: [[Object]] - The camera
|p1= camera: [[Object]] - the camera


|p2= cameraInstance: [[Object]] - Camera instance
|p2= cameraInstance: [[Object]] - camera instance


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


|x1= <code>[BIS_camera,BIS_camera_instance] [[call]] [[BIS_fnc_camera_setCam]];</code>
|x1= <sqf>[BIS_camera,BIS_camera_instance] call BIS_fnc_camera_setCam;</sqf>


|seealso= [[BIS_fnc_camera_getCam]]
|seealso= [[BIS_fnc_camera_getCam]]
}}
}}

Latest revision as of 15:50, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets camera instance of camera object.
Execution:
call
Groups:
Camera

Syntax

Syntax:
[camera, cameraInstance] call BIS_fnc_camera_setCam
Parameters:
camera: Object - the camera
cameraInstance: Object - camera instance
Return Value:
Nothing

Examples

Example 1:
[BIS_camera,BIS_camera_instance] call BIS_fnc_camera_setCam;

Additional Information

See also:
BIS_fnc_camera_getCam

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