BIS fnc unitAddon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return addon from CfgPatches to which a given object belongs to.|= Description
| Return addon from CfgPatches to which a given object belongs to.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [object] call [[BIS_fnc_unitAddon]] |= Syntax
| [object] call [[BIS_fnc_unitAddon]] |SYNTAX=
____________________________________________________________________________________________
____________________________________________________________________________________________


|p1= object: [[Object]] - Object whose addon should be returned |= Parameter 1
|p1= object: [[Object]] - Object whose addon should be returned |PARAMETER1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[String]] - Addon class |= Return value
| [[String]] - Addon class |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[unitAddons]], [[activatedAddons]] |= See also
| [[unitAddons]], [[activatedAddons]] |SEEALSO=
}}
}}



Revision as of 14:34, 7 April 2019

Hover & click on the images for description

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

Notes

Bottom Section