BIS fnc getUnitInsignia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3


|1.24
|version1= 1.24


|gr1 = Object Manipulation
|gr1 = Object Manipulation


| Get a unit's uniform insignia placed with [[BIS_fnc_setUnitInsignia]]
|descr= Get a unit's uniform insignia placed with [[BIS_fnc_setUnitInsignia]].


| [ object ] 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


| [[String]] - Path to texture
|r1= [[String]] - Path to texture


|x1= <code>_texture = [<nowiki/>[[player]] ] [[call]] [[BIS_fnc_getUnitInsignia]]</code>
|x1= <code>_texture = [<nowiki/>[[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:11, 20 March 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