Difference between revisions of "getPersonUsedDLCs"
Jump to navigation
Jump to search
m (added category) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | 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. |= | + | | 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 |= | + | | [[getPersonUsedDLCs]] unit |SYNTAX= |
− | |p1= unit: [[Object]] |= | + | |p1= unit: [[Object]] |PARAMETER1= |
− | | [[Array]] of [[Number|Numbers]] |= | + | | [[Array]] of [[Number|Numbers]] |RETURNVALUE= |
− | |x1= <code>_objects = [[getPersonUsedDLCs]] [[player]];</code>|= | + | |x1= <code>_objects = [[getPersonUsedDLCs]] [[player]];</code>|EXAMPLE1= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | [[getDLCs]] [[getObjectDLC]] [[getMissionDLCs]] |= | + | | [[getDLCs]] [[getObjectDLC]] [[getMissionDLCs]] |SEEALSO= |
|mp= {{warning|This command does not work on a dedicated server}} |= MP behaviour | |mp= {{warning|This command does not work on a dedicated server}} |= MP behaviour |
Revision as of 14:40, 7 April 2019
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.
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
- Groups:
- Uncategorised
Notes
Notes
Bottom Section
Categories:
- Pages using duplicate arguments in template calls
- Scripting Commands
- Arma 3: Scripting Commands
- Arma 3: New Scripting Commands
- Command Group: Uncategorised
- Introduced with Arma 3 version 1.36
- Commands utilizing global arguments
- Arma 3: New Scripting Commands List
- Scripting Commands Arma 3
- Broken Scripting Commands
- Command Group: DLC