Difference between revisions of "getPersonUsedDLCs"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
 
(8 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3 |= Game name
+
| arma3 |Game name=
  
|1.36|= Game version
+
|1.36|Game version=
  
 
|arg= global|Multiplayer Arguments=
 
|arg= global|Multiplayer Arguments=
 +
 +
|gr1= Broken Commands |GROUP1=
 +
 +
|gr2= DLC|GROUP2=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 16: Line 20:
 
|p1=  unit: [[Object]] |PARAMETER1=
 
|p1=  unit: [[Object]] |PARAMETER1=
  
| [[Array]] of [[Number|Numbers]] |RETURNVALUE=
+
|r1= [[Array]] of [[Number|Numbers]] |RETURNVALUE=
  
 
|x1= <code>_objects = [[getPersonUsedDLCs]] [[player]];</code>|EXAMPLE1=
 
|x1= <code>_objects = [[getPersonUsedDLCs]] [[player]];</code>|EXAMPLE1=
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|  [[getDLCs]] [[getObjectDLC]] [[getMissionDLCs]] |SEEALSO=
+
|  [[getDLCs]], [[getObjectDLC]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] |SEEALSO=
  
|mp= {{warning|This command does not work on a dedicated server}} |= MP behaviour
+
|pr= {{warning|This command does not work on a dedicated server.}} |MP behaviour=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}
Line 36: Line 39:
  
 
<h3 style='display:none'>Bottom Section</h3>
 
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Broken Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command Group: DLC|{{uc:{{PAGENAME}}}}]]
 

Latest revision as of 04:05, 25 September 2020

Introduced with Arma 3 version 1.361.36Arguments 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.
Problem(s):
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:
See also needed
Groups:
Broken CommandsDLC

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section