getPersonUsedDLCs

From Bohemia Interactive Community
Revision as of 19:48, 31 August 2019 by Lou Montana (talk | contribs) (Text replacement - "|= Game name" to "|Game name=")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.361.36
Arguments of this scripting command don't have to be local to the client the command is executed on
Hover & click on the images for descriptions

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

Syntax

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

Examples

Example 1:
_objects = getPersonUsedDLCs player;

Additional Information

See also:
getDLCs getObjectDLC getMissionDLCs

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section