VN_fnc_setunitchestinsignia

From Savage Game Design Wiki
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;