Difference between revisions of "VN fnc module UI gestureMenu init"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "|s= [] call [[VN_fnc_module_" to "|s= [logic, units, isActivated] call [[VN_fnc_module_")
(Page filling)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|author=  
+
|author= Dscha
  
|a=
+
|a= global
  
|e=
+
|e= local
  
 
|g1= gesture_menu
 
|g1= gesture_menu
  
|d= <pre>/* ----------------------------------------------------------------------------
+
|d= Loads up the STANDARD Version for the Gesture-Wheelmenu and adds Keyhandler. Standard button is Y (on a QWERTY keyboard).
Function: vn_fnc_module_UI_gestureMenu_init
 
 
 
Description:
 
- Loads up the STANDARD Version for the Gesture-Wheelmenu
 
- Adds Keyhandler - Standardbutton: Z/Y (The one between "T" and "U"...)
 
 
 
Parameters:
 
0 - OBJECT - The Logic/Module, that calls this function
 
1 - OBJECT - (NOT USED) assigned Object
 
2 - BOOL - is activated? ( https://community.bistudio.com/wiki/Modules -> "isDisposable" )
 
 
 
Example:
 
(autohandled by a placed Module!!)
 
[
 
"_logic",
 
"_unit",
 
"_activated"
 
] call vn_fnc_module_UI_gestureMenu_init;
 
 
 
Returns:
 
- Nothing
 
 
 
Author:
 
Dscha
 
---------------------------------------------------------------------------- */
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
 
|s= [logic, units, isActivated] call [[VN_fnc_module_UI_gestureMenu_init]]
 
|s= [logic, units, isActivated] call [[VN_fnc_module_UI_gestureMenu_init]]
  
|p1n=
+
|p1n= logic
|p1t=
+
|p1t= object
|p1d=
+
|p1d= the module logic
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= units
|p2t=
+
|p2t= {{DataType|array}} of {{DataType|object}}
|p2d=
+
|p2d= synchronised units, unused
 
|p2v=
 
|p2v=
 +
 +
|p3n= isActivated
 +
|p3t= boolean
 +
|p3d= is the module activated
 +
|p3v= {{Biki|true}}
  
 
|r1t=
 
|r1t=
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>[module, units group player, true] call VN_fnc_module_UI_gestureMenu_init;</code>
 
}}
 
}}

Revision as of 22:37, 20 January 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Dscha
Argument(s): global
Effect(s): local

Description

Loads up the STANDARD Version for the Gesture-Wheelmenu and adds Keyhandler. Standard button is Y (on a QWERTY keyboard).

Syntax

Syntax
[logic, units, isActivated] call VN_fnc_module_UI_gestureMenu_init
Parameters
logic: Object - the module logic
units: Array of Object - synchronised units, unused
isActivated: Boolean - (Optional, default true) is the module activated
Return value
Nothing

Examples

Example 1
[module, units group player, true] call VN_fnc_module_UI_gestureMenu_init;