BIS fnc getUnitInsignia: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ") |
Lou Montana (talk | contribs) (Fix description) |
||
Line 6: | Line 6: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Get a unit's uniform insignia | |descr= Get a unit's uniform insignia class set with [[BIS_fnc_setUnitInsignia]]. | ||
|s1= [target] call [[BIS_fnc_getUnitInsignia]] | |s1= [target] call [[BIS_fnc_getUnitInsignia]] | ||
|p1= target: [[Object]] - | |p1= target: [[Object]] - object from which to return its insignia's class | ||
|r1= [[String]] - | |r1= [[String]] - insignia classname | ||
|x1= <code> | |x1= <code>[[private]] _insigniaClass = [<nowiki/>[[player]]] [[call]] [[BIS_fnc_getUnitInsignia]]</code> | ||
|seealso= [[BIS_fnc_setUnitInsignia]], [[Arma 3: Unit Insignia]] | |seealso= [[BIS_fnc_setUnitInsignia]], [[Arma 3: Unit Insignia]] | ||
}} | }} |
Revision as of 16:29, 21 July 2021
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
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