getPersonUsedDLCs

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.36
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.36

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.
warning.png This command is broken and doesnt work on dedicated server

Syntax

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

Examples

Example 1:
_objects = getPersonUsedDLCs player;

Additional Information

Multiplayer:
-
See also:
getDLCs getObjectDLC getMissionDLCs

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section