BIS fnc getUnitInsignia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>([^<]*)<nowiki\/>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>")
Line 14: Line 14:
|r1= [[String]] - insignia classname
|r1= [[String]] - insignia classname


|x1= <code>[[private]] _insigniaClass = [<nowiki/>[[player]]] [[call]] [[BIS_fnc_getUnitInsignia]]</code>
|x1= <code>[[private]] _insigniaClass = [player] [[call]] [[BIS_fnc_getUnitInsignia]]</code>


|seealso= [[BIS_fnc_setUnitInsignia]] [[Arma 3: Unit Insignia]]
|seealso= [[BIS_fnc_setUnitInsignia]] [[Arma 3: Unit Insignia]]
}}
}}

Revision as of 12:10, 13 July 2022

Hover & click on the images for description

Description

Description:
Get a unit's uniform insignia class set with BIS_fnc_setUnitInsignia.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
[target] call BIS_fnc_getUnitInsignia
Parameters:
target: Object - object from which to return its insignia's class
Return Value:
String - insignia classname

Examples

Example 1:
private _insigniaClass = [player] call BIS_fnc_getUnitInsignia

Additional Information

See also:
BIS_fnc_setUnitInsignia Arma 3: Unit Insignia

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note