BIS fnc unitAddon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "| arma3|1.00|" to "| arma3 |1.00 |") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| | |game1= arma3 | ||
|version1= 1.00 | |||
|p1= object: [[Object]] - Object whose addon should be returned| [[String]] - | |gr1= Configs | ||
|descr= Return addon from CfgPatches to which a given object belongs to. | |||
|s1=[object] call [[BIS_fnc_unitAddon]] | |||
|p1= object: [[Object]] - Object whose addon should be returned | |||
|r1= [[String]] - addon class | |||
|x1= <code>[ [[player]] ] [[call]] [[BIS_fnc_unitAddon]];</code> | |||
|seealso= [[unitAddons]], [[activatedAddons]] | |seealso= [[unitAddons]], [[activatedAddons]] | ||
}} | }} |
Revision as of 04:57, 13 June 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