BIS fnc unitAddon: Difference between revisions
| m (pf) | m (template:command argument fix) | ||
| Line 7: | Line 7: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | Return addon from CfgPatches to which a given object belongs to.|=  | | Return addon from CfgPatches to which a given object belongs to.|DESCRIPTION= | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | [object] call [[BIS_fnc_unitAddon]] |=  | | [object] call [[BIS_fnc_unitAddon]] |SYNTAX= | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |p1= object: [[Object]] - Object whose addon should be returned |=  | |p1= object: [[Object]] - Object whose addon should be returned |PARAMETER1= | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | [[String]] - Addon class |=  | | [[String]] - Addon class |RETURNVALUE= | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Line 22: | Line 22: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | [[unitAddons]], [[activatedAddons]] |=  | | [[unitAddons]], [[activatedAddons]] |SEEALSO= | ||
| }} | }} | ||
Revision as of 14:34, 7 April 2019
Description
- Description:
- Return addon from CfgPatches to which a given object belongs to.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [object] call BIS_fnc_unitAddon
- Parameters:
- object: Object - Object whose addon should be returned
- Return Value:
- String - Addon class
Examples
- Example 1:
- [ player ] call BIS_fnc_unitAddon;
Additional Information
- See also:
- unitAddonsactivatedAddons
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
 
	