BIS fnc cameraOld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Script_(Handle)|" to "[[Script Handle|")
m (Text replacement - "Script handle" to "Script Handle")
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Classic camera script, replaced by the Splendid™ [[BIS_fnc_camera]].
|descr= Classic camera script, replaced by the Splendid™ [[BIS_fnc_camera]].


|s1=[target] call [[BIS_fnc_cameraOld]]
|s1= [target] call [[BIS_fnc_cameraOld]]


|p1= target: [[Object]] - (Optional, default [[cameraOn]])
|p1= target: [[Object]] - (Optional, default [[cameraOn]])


|r1= [[Script Handle|Script handle]]
|r1= [[Script Handle]]


|x1= <code><nowiki>[</nowiki>[[player]]] [[call]] [[BIS_fnc_cameraOld]]; {{cc|starts the camera on the player}}</code>
|x1= <sqf>[player] call BIS_fnc_cameraOld; // starts the camera on the player</sqf>


|seealso= [[BIS_fnc_camera]]
|seealso= [[BIS_fnc_camera]]
}}
}}

Latest revision as of 18:17, 9 August 2022

Hover & click on the images for description

Description

Description:
Classic camera script, replaced by the Splendid™ BIS_fnc_camera.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[target] call BIS_fnc_cameraOld
Parameters:
target: Object - (Optional, default cameraOn)
Return Value:
Script Handle

Examples

Example 1:
[player] call BIS_fnc_cameraOld; // starts the camera on the player

Additional Information

See also:
BIS_fnc_camera

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