BIS fnc camera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "(Optional, default {{hl|[]}})" to "(Optional, default <sqf inline>[]</sqf>)")
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Diagnostic


|1.00|= Game version
|descr= Splendid™ Camera, ''"Ultimate Screenshot Simulator"''
____________________________________________________________________________________________


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


Description:
|p1= mode: [[String]] - (Optional, default "Init") '''case-sensitive''', for internal use. Can be one of:
Splendid config viewer
{{Columns|4|
 
* "Init"
Parameter(s):
* "Mouse"
_this select 0: STRING - Parent display (when you need to run the viewer from editor)
* "MouseButtonDown"
 
* "MouseButtonUp"
Returns:
* "MouseZChanged"
NOTHING
* "KeyDown"
*/
* "KeyUp"
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
* "Draw3D"
____________________________________________________________________________________________
* "MapDraw"
* "MapClick"
* "SliderFocus"
* "SliderAperture"
* "SliderDaytime"
* "SliderOvercast"
* "SliderAcctime"
* "SliderColor"
* "SliderContrast"
* "SliderSaturation"
* "Paste"
* "InitDummy"
* "ExitDummy"
* "Exit"
}}


| <!-- [] call [[BIS_fnc_camera]]; --> |= Syntax
|p2= parameter: [[Anything]] - (Optional, default <sqf inline>[]</sqf>)


|p1= |= Parameter 1
|r1= [[Nothing]]


| |= Return value
|x1= <sqf>[] call BIS_fnc_camera;</sqf>
____________________________________________________________________________________________


|x1= <code>[] [[call]] [[BIS_fnc_camera]];</code> |=
|x2= <sqf>[] spawn BIS_fnc_camera;</sqf>
|x2= <code>[] [[spawn]] [[BIS_fnc_camera]];</code> |=
____________________________________________________________________________________________


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


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


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
<dt></dt>
</dl>
<dd class="notedate">Posted on 2014-10-10 - 00:15 (UTC)</dd>
 
<dt class="note">[[User:Benargee|Benargee]]</dt>
<h3 style="display:none">Bottom Section</h3>
<dd class="note">(Arma 3 1.30) Calling from pause menu debug console without arguments will crash the game. Tested in singleplayer editor preview.</dd>
[[Category:Function Group: Debug|{{uc:camera}}]]
[[Category:Functions|{{uc:camera}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:camera}}]]


<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on October 10, 2014 - 00:15 (UTC)</dd>
<dt class="note">[[User:Benargee|Benargee]]</dt>
<dd class="note">(Arma 3 1.30) Calling from pause menu debug console without arguments will crash the game. Tested in singleplayer editor preview.
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 18:09, 8 November 2023

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 controls BIS_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 2014-10-10 - 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.