BIS fnc getUnitInsignia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \| *(s1=)? *((\[[^ ]+\]) (call|spawn) '''(BI(N|S)_fnc_[a-zA-Z0-9_]+)''');? \| *p1 *=" to " |s1= $3 $4 $5 |p1=")
Line 9: Line 9:
|descr= Get a unit's uniform insignia placed with [[BIS_fnc_setUnitInsignia]].
|descr= Get a unit's uniform insignia placed with [[BIS_fnc_setUnitInsignia]].


|s1= [target] call '''BIS_fnc_getUnitInsignia''';
|s1= [target] call [[BIS_fnc_getUnitInsignia]]


|p1= target: [[Object]] - Object to return insignia from
|p1= target: [[Object]] - Object to return insignia from

Revision as of 21:04, 12 June 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
[target] call BIS_fnc_getUnitInsignia
Parameters:
target: Object - Object to return insignia from
Return Value:
String - Path to texture

Examples

Example 1:
_texture = [player] call BIS_fnc_getUnitInsignia

Additional Information

See also:
BIS_fnc_setUnitInsigniaArma 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