BIS fnc unitAddon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 8: | Line 8: | ||
|descr= Return addon from CfgPatches to which a given object belongs to. | |descr= Return addon from CfgPatches to which a given object belongs to. | ||
|s1=[object] call [[BIS_fnc_unitAddon]] | |s1= [object] call [[BIS_fnc_unitAddon]] | ||
|p1= object: [[Object]] - Object whose addon should be returned | |p1= object: [[Object]] - Object whose addon should be returned |
Revision as of 23:12, 12 July 2022
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:
Additional Information
- See also:
- unitAddons activatedAddons
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