BIS fnc cameraOld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "Script handle" to "Script Handle")
 
(5 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