VN_fnc_setunitchestinsignia

From Savage Game Design Wiki
Revision as of 02:22, 5 May 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= vn_insignia_functions |d= <pre>Adds insignia to unit globablly for all clients including JIP clients.</pre> |s= [_u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

Adds insignia to unit globablly for all clients including JIP clients.

Syntax

Syntax
[_unit,_insignia,_hiddenselection] call VN_fnc_setunitchestinsignia;
Parameters
_unit: Object - (Optional, default OBJNULL) Unit that will have the insignia added to them.
_insignia: String - (Optional, default "") CfgUnitInsignia classname which will be added to the unit.
_hiddenselection: String - (Optional, default "") Hidden selection name to add the texture to.
Return value
Boolean - Was insignia succesfully set.

Examples

Example 1
[player, "bi", "d_pocket_l"] call vn_fnc_setunitchestinsignia;