BIS fnc unitAddon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
||
Line 15: | Line 15: | ||
| [[String]] - Addon class |RETURNVALUE= | | [[String]] - Addon class |RETURNVALUE= | ||
|x1= <code>[ [[player]] ] [[call]] [[BIS_fnc_unitAddon]];</code> | |x1= <code>[ [[player]] ] [[call]] [[BIS_fnc_unitAddon]];</code> | ||
| [[unitAddons]], [[activatedAddons]] |SEEALSO= | | [[unitAddons]], [[activatedAddons]] |SEEALSO= |
Revision as of 21:08, 17 January 2021
Description
- Description:
- Return addon from CfgPatches to which a given object belongs to.
- Execution:
- call
- Groups:
- Configs
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