BIS fnc camera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
Line 44: Line 44:
|x2= <sqf>[] spawn BIS_fnc_camera;</sqf>
|x2= <sqf>[] spawn BIS_fnc_camera;</sqf>


|x3= <code>["Init"] [[call]] [[BIS_fnc_camera]];</code>
|x3= <sqf>["Init"] call BIS_fnc_camera;</sqf>


|seealso= [[Camera.sqs]] [[Arma 3: Splendid Camera|Splendid camera controls]], [[BIS_fnc_cameraOld]]
|seealso= [[Camera.sqs]] [[Arma 3: Splendid Camera|Splendid camera controls]], [[BIS_fnc_cameraOld]]

Revision as of 20:03, 5 May 2022

Hover & click on the images for description

Description

Description:
Splendid™ Camera, "Ultimate Screenshot Simulator"
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[mode, parameter] call BIS_fnc_camera
Parameters:
mode: String - (Optional, default "Init") case-sensitive, for internal use. Can be one of:
  • "Init"
  • "Mouse"
  • "MouseButtonDown"
  • "MouseButtonUp"
  • "MouseZChanged"
  • "KeyDown"
  • "KeyUp"
  • "Draw3D"
  • "MapDraw"
  • "MapClick"
  • "SliderFocus"
  • "SliderAperture"
  • "SliderDaytime"
  • "SliderOvercast"
  • "SliderAcctime"
  • "SliderColor"
  • "SliderContrast"
  • "SliderSaturation"
  • "Paste"
  • "InitDummy"
  • "ExitDummy"
  • "Exit"
parameter: Anything - (Optional, default [])
Return Value:
Nothing

Examples

Example 1:
[] call BIS_fnc_camera;
Example 2:
[] spawn BIS_fnc_camera;
Example 3:
["Init"] call BIS_fnc_camera;

Additional Information

See also:
Camera.sqs Splendid camera controlsBIS_fnc_cameraOld

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
Posted on October 10, 2014 - 00:15 (UTC)
Benargee
(Arma 3 1.30) Calling from pause menu debug console without arguments will crash the game. Tested in singleplayer editor preview.