BIS fnc getUnitInsignia: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(s1=)? *((\[[^ ]+\]) (call|spawn) '''(BI(N|S)_fnc_[a-zA-Z0-9_]+)''');? \| *p1 *=" to " |s1= $3 $4 $5 |p1=") |
||
Line 9: | Line 9: | ||
|descr= Get a unit's uniform insignia placed with [[BIS_fnc_setUnitInsignia]]. | |descr= Get a unit's uniform insignia placed with [[BIS_fnc_setUnitInsignia]]. | ||
|s1= [target] call | |s1= [target] call [[BIS_fnc_getUnitInsignia]] | ||
|p1= target: [[Object]] - Object to return insignia from | |p1= target: [[Object]] - Object to return insignia from |
Revision as of 20:04, 12 June 2021
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
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