Difference between revisions of "getPersonUsedDLCs"

From Bohemia Interactive Community
Jump to navigation Jump to search
(argument is global)
(moving note for historic keeping to talk)
Line 38: Line 38:
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
<!-- CONTINUE Notes -->
 
<dl class="command_description">
 
<dd class="notedate">Posted on November 14, 2014 - 14:00 (UTC)</dd>
 
<dt class="note">[[User:Jezuro|Jezuro]]</dt>
 
<dd class="note">
 
This command is a renamed version of '''getObjectDLCs''' and was introduced in 1.35.128260.
 
</dd>
 
</dl>
 
<!-- DISCONTINUE Notes -->
 

Revision as of 12:47, 12 July 2015

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.

Syntax

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

Examples

Example 1:
_objects = getPersonUsedDLCs player;

Additional Information

Multiplayer:
-
See also:
getDLCs

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