BIS fnc camera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added link to controls page)
(Page filling)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________


{{Function|= Comments
| arma3 |Game name=
 
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| Splendid™ Camera, ''"Ultimate Screenshot Simulator"'' |Description=
 
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Splendid Camera "Ultimate Screenshot Simulator"
| [mode, parameter] call [[BIS_fnc_camera]] |Syntax=
<pre>/*


Description:
|p1= mode: [[String]] - (Optional, default "Init") '''case-sensitive''', for internal use. Can be one of:
Splendid config viewer
* "Init"
* "Mouse"
* "MouseButtonDown"
* "MouseButtonUp"
* "MouseZChanged"
* "KeyDown"
* "KeyUp"
* "Draw3D"
* "MapDraw"
* "MapClick"
* "SliderFocus"
* "SliderAperture"
* "SliderDaytime"
* "SliderOvercast"
* "SliderAcctime"
* "SliderColor"
* "SliderContrast"
* "SliderSaturation"
* "Paste"
* "InitDummy"
* "ExitDummy"
* "Exit" |Parameter 1=


Parameter(s):
|p2= parameter: [[Anything]] - (Optional, default []) |Parameter 2=
_this select 0: STRING - Parent display (when you need to run the viewer from editor)


Returns:
| [[Nothing]] |Return value=
NOTHING
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_camera]]; --> |= Syntax
|x1= <code>[] [[call]] [[BIS_fnc_camera]];</code> |Example 1=
 
|p1= |= Parameter 1


| |= Return value
|x2= <code>[] [[spawn]] [[BIS_fnc_camera]];</code> |Example 2=
____________________________________________________________________________________________


|x1= <code>[] [[call]] [[BIS_fnc_camera]];</code> |=
|x3= <code>["Init"] [[call]] [[BIS_fnc_camera]];</code> |Example 3=
|x2= <code>[] [[spawn]] [[BIS_fnc_camera]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Camera.sqs]], [[Splendid_Camera|Splendid camera controls]] |= See also
| [[Camera.sqs]], [[Splendid_Camera|Splendid camera controls]], [[BIS_fnc_cameraOld]] |See also=
 
}}
}}



Revision as of 17:24, 30 May 2018

Hover & click on the images for description

Description

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

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.sqsSplendid 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

Notes

Bottom Section

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.