unitAddons: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (arma version needs to be corrected by a dev) |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 17: | Line 17: | ||
|x1= <code>[[hint]] [[str]] [[unitAddons]] [[ | |x1= <code>[[hint]] [[str]] [[unitAddons]] [[typeOf]] [[player]]; //["A3_Characters_F_BLUFOR"]</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 20:01, 18 September 2013
Description
- Description:
- Returns list with addons the unit belongs to.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unitAddons className
- Parameters:
- className: String - class name of a unit/vehicle or object
- Return Value:
- Array - addon names
Examples
- Example 1:
hint str unitAddons typeOf player; //["A3_Characters_F_BLUFOR"]
Additional Information
- See also:
- activateAddons
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