BIS fnc getUnitInsignia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Get a unit's uniform insignia placed with [[BIS_fnc_setUnitInsignia]] |DESCRIPTION=
 
Description:
Get unit inisgnia (e.g., should insignia on soldiers)
 
Parameter(s):
0: OBJECT
 
Returns:
STRING - insignia texture
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_getUnitInsignia]]; --> |= Syntax
| [ object ] call BIS_fnc_getUnitInsignia; |SYNTAX=


|p1= |= Parameter 1
|p1= '''Target:''': [[Object]] - Object to return insignia from. |=  


| |= Return value
| [[String]] - Path to texture |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>_texture = [ [[player]] ] [[call]] [[BIS_fnc_getUnitInsignia]]</code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[BIS_fnc_setUnitInsignia]] |= See also
| [[BIS_fnc_setUnitInsignia]], [[Arma 3 Unit Insignia]] |SEEALSO=


}}
}}

Revision as of 12:28, 7 April 2019


Hover & click on the images for description

Description

Description:
Get a unit's uniform insignia placed with BIS_fnc_setUnitInsignia
Execution:
call
Groups:
Uncategorised

Syntax

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

Notes

Bottom Section