BIS fnc unitAddon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2") |
||
(5 intermediate revisions by the same user not shown) | |||
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]] - | |p1= object: [[Object]] - object whose addon should be returned | ||
|r1= [[String]] - addon class | |r1= [[String]] - addon class | ||
|x1= < | |x1= <sqf>[player] call BIS_fnc_unitAddon;</sqf> | ||
|seealso= [[unitAddons]] [[activatedAddons]] | |seealso= [[unitAddons]] [[activatedAddons]] | ||
}} | }} |
Latest revision as of 17:27, 8 November 2023
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