BIS fnc cameraOld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - "Script handle" to "Script Handle")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= Diagnostic


|gr1 = Diagnostic
|descr= Classic camera script, replaced by the Splendid™ [[BIS_fnc_camera]].


| Classic camera script, replaced by the Splendid™ [[BIS_fnc_camera]].
|s1= [target] call [[BIS_fnc_cameraOld]]
 
| [target] call [[BIS_fnc_cameraOld]]


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


| [[Script_(Handle)|Script handle]]
|r1= [[Script Handle]]


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


| [[BIS_fnc_camera]]
|seealso= [[BIS_fnc_camera]]
}}
}}
[[Category:Functions|{{uc:cameraOld}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:cameraOld}}]]

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