BIS fnc getUnitInsignia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
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 |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 18:09, 30 September 2014


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_setUnitInsignia

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