Difference between revisions of "VN fnc playGesture"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Created page with "{{Function |v= 1.00 |author=Dscha |a= |e= |g1= cmdOverlay |d= <pre>Play given animation and send the selected Icon (via CmdOverlay) to all Groupmembers within reach ("vn_c...")
 
 
Line 37: Line 37:
  
 
|x1= <code>[
 
|x1= <code>[
"vn\ui_f_vietnam\ui\wheelmenu\img\handsignals\ui_wm_selector_hand_001_ca.paa"
+
"vn\ui_f_vietnam\ui\wheelmenu\img\handsignals\ui_wm_selector_hand_001_ca.paa",
,"vn_handsignal_freeze"
+
"vn_handsignal_freeze",
,"STR_VN_UI_WM_SELECTOR_HAND_001_DN" //"I am a Text"
+
"STR_VN_UI_WM_SELECTOR_HAND_001_DN" //"I am a Text",
,true
+
true
] call vn_fnc_playGesture;</code>
+
] call vn_fnc_playGesture;</code>
 
}}
 
}}

Latest revision as of 20:40, 4 May 2022

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Dscha
Argument(s): n/a
Effect(s): unknown

Description

Play given animation and send the selected Icon (via CmdOverlay) to all Groupmembers within reach ("vn_cmdOL_maxDistance").

Syntax

Syntax
[_UsedIcon,_gesture,_actionName,_showNotification] call VN_fnc_playGesture;
Parameters
_UsedIcon: String - (Optional, default "") path to selected Icon
_gesture: String - (Optional, default "") Gesture
_actionName: String - (Optional, default "") String OR Stringtable - not beeing used atm, still keeping it for future-updates
_showNotification: Boolean - (Optional, default TRUE) Show in CmdOverlay or not
Return value
Nothing

Examples

Example 1
[ "vn\ui_f_vietnam\ui\wheelmenu\img\handsignals\ui_wm_selector_hand_001_ca.paa", "vn_handsignal_freeze", "STR_VN_UI_WM_SELECTOR_HAND_001_DN" //"I am a Text", true ] call vn_fnc_playGesture;