Difference between revisions of "getPersonUsedDLCs"

From Bohemia Interactive Community
Jump to navigation Jump to search
(moving note for historic keeping to talk)
(broken)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| 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. |= 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 | This command is broken and doesnt work on dedicates server}}|= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 38: Line 39:
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Broken Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 01:07, 13 July 2015

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

Syntax

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

Examples

Example 1:
_objects = getPersonUsedDLCs player;

Additional Information

See also:
getDLCs

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