BIS fnc unitAddon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - "\| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) *\|p1=" to "|s1=$1 |p1=")
Line 1: Line 1:
{{RV|type=function
{{RV|type=function
| arma3|1.00|gr1= Configs| Return addon from CfgPatches to which a given object belongs to.| [object] call [[BIS_fnc_unitAddon]]|p1= object: [[Object]] - Object whose addon should be returned| [[String]] - Addon class|x1= <code>[ [[player]] ] [[call]] [[BIS_fnc_unitAddon]];</code>
| arma3|1.00|gr1= Configs| 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| [[String]] - Addon class|x1= <code>[ [[player]] ] [[call]] [[BIS_fnc_unitAddon]];</code>


|seealso= [[unitAddons]], [[activatedAddons]]
|seealso= [[unitAddons]], [[activatedAddons]]

Revision as of 16:02, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Configs

Syntax

Syntax:
[object] call BIS_fnc_unitAddon
Parameters:
object: Object - Object whose addon should be returned
Return Value:
Return value needed

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