Arma 3 Scripting

getPersonUsedDLCs

  • Broken
  • Global argument
  • Arma 3 v1.36

Command · also in DLC · Markdown · JSON · original wiki page

Warning

This command is listed as broken on the wiki.

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.

Syntax

getPersonUsedDLCs unit

Parameters:

Returns: Array of Numbers

Examples

Example 1

_objects = getPersonUsedDLCs player;

Problems

Warning

This command does not work on a dedicated server.

See also

getDLCs · getObjectDLC · getMissionDLCs · getDLCAssetsUsageByName · getDLCAssetsUsage · getAssetDLCInfo