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

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "]]; |p1n=" to "]] |p1n=")
(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 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:
+
|s= [logic, units, isActivated] call [[VN_fnc_module_UI_gestureMenu_init_custom]]
- Loads up the CUSTOM Version for the Gesture-Wheelmenu
 
- Adds Keyhandler - Standardbutton: Z/Y (The one between "T" and "U"...)
 
  
Parameters:
+
|p1n= logic
0 - OBJECT - The Logic/Module, that calls this function
+
|p1t= object
1 - OBJECT - (NOT USED) assigned Object
+
|p1d= the module logic
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]]
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
 
|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>
 
}}
 
}}

Revision as of 22:39, 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 CUSTOM Version for the Gesture-Wheelmenu and adds Keyhandler. Default key: Y (on a QWERTY keyboard).

Syntax

Syntax
[logic, units, isActivated] call VN_fnc_module_UI_gestureMenu_init_custom
Parameters
logic: Object - the module logic
units: Array of Object - synchronised units
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_custom;