BIS fnc getUnitInsignia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.24


| arma3 |= Game name
|gr1= Object Manipulation


|1.24|= Game version
|descr= Get a unit's uniform insignia class set with [[BIS_fnc_setUnitInsignia]].
____________________________________________________________________________________________


| <pre>/*
|s1= [target] call [[BIS_fnc_getUnitInsignia]]


Description:
|p1= target: [[Object]] - object from which to return its insignia's class
Get unit inisgnia (e.g., should insignia on soldiers)


Parameter(s):
|r1= [[String]] - insignia classname
0: OBJECT


Returns:
|x1= <sqf>private _insigniaClass = [player] call BIS_fnc_getUnitInsignia</sqf>
STRING - insignia texture
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_getUnitInsignia]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| [[BIS_fnc_setUnitInsignia]] |= See also


|seealso= [[BIS_fnc_setUnitInsignia]] [[Arma 3: Unit Insignia]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Strategic|{{uc:getUnitInsignia}}]]
[[Category:Functions|{{uc:getUnitInsignia}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getUnitInsignia}}]]

Latest revision as of 17: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