BIS fnc unitAddon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Return addon from CfgPatches to which a given object belongs to.|= Description
____________________________________________________________________________________________


Description:
| [object] call [[BIS_fnc_unitAddon]] |= Syntax
Return addon from CghPatches to which a given object belongs to
____________________________________________________________________________________________
Parameter(s):
0: OBJECT
Returns:
STRING - addon class
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= object: [[Object]] - Object whose addon should be returned |= Parameter 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_unitAddon]]; --> |= Syntax
| [[String]] - Addon class |= Return value
 
|p1= |= Parameter 1
 
| |= 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

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