getPersonUsedDLCs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "|= Game name" to "|Game name=")
(16 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.35|= Game version
|1.36|Game version=
 
|arg= global|Multiplayer Arguments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns a list of all DLCs objects the unit is currently using. |= 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. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''getPersonUsedDLCs''' unit |= Syntax
| [[getPersonUsedDLCs]] unit |SYNTAX=
 
|p1=  Unit: [[Object]] |=  


| [[Array]] |= RETURNVALUE
|p1=  unit: [[Object]] |PARAMETER1=


| [[Array]] of [[Number|Numbers]] |RETURNVALUE=


|x1= <code>_objects = [[getPersonUsedDLCs]] [[player]];</code>|= EXAMPLE1
|x1= <code>_objects = [[getPersonUsedDLCs]] [[player]];</code>|EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________


|  [[getDLCs]] |= SEEALSO
|  [[getDLCs]] [[getObjectDLC]] [[getMissionDLCs]] |SEEALSO=


| |= MPBEHAVIOUR
|mp= {{warning|This command does not work on a dedicated server}} |= MP behaviour
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}
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}}}}]]
<!-- CONTINUE Notes -->
[[Category:Command Group: DLC|{{uc:{{PAGENAME}}}}]]
<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 20:48, 31 August 2019

Hover & click on the images for description

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
Groups:
Uncategorised

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

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section