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

From Savage Game Design Wiki
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - "call VN_" to "call [[VN_")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a=  
+
|author= Dscha
 +
 
 +
|a= global
  
|e=
+
|e= local
  
 
|g1= gesture_menu
 
|g1= gesture_menu
  
|d= <pre>/* ----------------------------------------------------------------------------
+
|d= Loads up the CUSTOM Version for the Gesture-Wheelmenu and adds Keyhandler. Default key: Y (on a QWERTY keyboard).
Function: vn_fnc_module_UI_gestureMenu_init_custom
 
 
 
Description:
 
- Loads up the CUSTOM 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_custom;
 
 
 
Returns:
 
- Nothing
 
 
 
Author:
 
Dscha
 
---------------------------------------------------------------------------- */
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[VN_fnc_module_UI_gestureMenu_init_custom]];
+
|s= [logic, units, isActivated] call [[VN_fnc_module_UI_gestureMenu_init_custom]]
  
|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
 
|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_custom;</code>
 
}}
 
}}

Latest revision as of 21:26, 27 February 2021

{{Function

|v= 1.00

|author= Dscha

|a= global

|e= local

|g1= gesture_menu

|d= Loads up the CUSTOM Version for the Gesture-Wheelmenu and adds Keyhandler. Default key: Y (on a QWERTY keyboard).

|s= [logic, units, isActivated] call VN_fnc_module_UI_gestureMenu_init_custom

|p1n= logic |p1t= object |p1d= the module logic |p1v=

|p2n= units |p2t= Array of Object |p2d= synchronised units |p2v=

|p3n= isActivated |p3t= boolean |p3d= is the module activated |p3v= true

|r1t= |r1d=

|x1= [module, units group player, true] call [[VN_fnc_module_UI_gestureMenu_init_custom; }}