Difference between revisions of "VN fnc cmdOL receive"

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>Adding the Texture/Icon to the "ActiveIcons"-list, nothing else. Rest will be handled by "vn_fnc_cmdOL_c...")
 
 
Line 32: Line 32:
  
 
|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",
,"playername A"
+
"playername A",
,"Take Cover"
+
"Take Cover"
] call vn_fnc_cmdOL_receive;</code>
+
] call vn_fnc_cmdOL_receive;</code>
 
}}
 
}}

Latest revision as of 20:42, 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

Adding the Texture/Icon to the "ActiveIcons"-list, nothing else. Rest will be handled by "vn_fnc_cmdOL_check".

Syntax

Syntax
[_UsedIcon,_senderName,_actionName] call VN_fnc_cmdOL_receive;
Parameters
_UsedIcon: String - (Optional, default "") Path to image/texture/Icon/whatever you wanna show there
_senderName: String - (Optional, default "") Name of the person, that sent the "command"
_actionName: String - (Optional, default "") Name of the action, that was executed
Return value
Nothing

Examples

Example 1
[ "vn\ui_f_vietnam\ui\wheelmenu\img\handsignals\ui_wm_selector_hand_001_ca.paa", "playername A", "Take Cover" ] call vn_fnc_cmdOL_receive;