BIS fnc getUnitInsignia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.24


|1.24
|gr1= Object Manipulation


|gr1 = Object Manipulation
|descr= Get a unit's uniform insignia class set with [[BIS_fnc_setUnitInsignia]].


| Get a unit's uniform insignia placed with [[BIS_fnc_setUnitInsignia]]
|s1= [target] call [[BIS_fnc_getUnitInsignia]]


| [ object ] call BIS_fnc_getUnitInsignia;
|p1= target: [[Object]] - object from which to return its insignia's class


|p1= '''Target:''': [[Object]] - Object to return insignia from.
|r1= [[String]] - insignia classname


| [[String]] - Path to texture
|x1= <sqf>private _insigniaClass = [player] call BIS_fnc_getUnitInsignia</sqf>
 
|x1= <code>_texture = [<nowiki/>[[player]] ] [[call]] [[BIS_fnc_getUnitInsignia]]</code>
 
| [[BIS_fnc_setUnitInsignia]], [[Arma 3 Unit Insignia]]


|seealso= [[BIS_fnc_setUnitInsignia]] [[Arma 3: Unit Insignia]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:getUnitInsignia}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getUnitInsignia}}]]

Latest revision as of 18:00, 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