BIS fnc unitAddon: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Return addon from CfgPatches to which a given object belongs to.|= Description | ||
____________________________________________________________________________________________ | |||
| [object] call [[BIS_fnc_unitAddon]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= object: [[Object]] - Object whose addon should be returned |= Parameter 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[String]] - Addon class |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[ [[player]] ] [[call]] [[BIS_fnc_unitAddon]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[unitAddons]], [[activatedAddons]] |= See also | ||
}} | }} | ||
Revision as of 13:46, 30 May 2018
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