getPersonUsedDLCs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
(see also)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


|  [[getDLCs]] [[getObjectDLC]] [[getMissionDLCs]] |SEEALSO=
|  [[getDLCs]], [[getObjectDLC]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] |SEEALSO=


|mp= {{warning|This command does not work on a dedicated server}} |= MP behaviour
|mp= {{warning|This command does not work on a dedicated server}} |= MP behaviour

Revision as of 07:12, 3 April 2020

Hover & click on the images for description

Description

Description:
Returns a list of all DLCs objects the unit is currently using. For example if a unit is inside a vehicle from DLC, it will return the code of that DLC.
Multiplayer:
This command does not work on a dedicated server
Groups:
Uncategorised

Syntax

Syntax:
getPersonUsedDLCs unit
Parameters:
unit: Object
Return Value:
Array of Numbers

Examples

Example 1:
_objects = getPersonUsedDLCs player;

Additional Information

See also:
getDLCsgetObjectDLCgetMissionDLCsgetDLCAssetsUsageByNamegetDLCAssetsUsagegetAssetDLCInfo

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