getPersonUsedDLCs: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Fix warning) |
||
Line 3: | Line 3: | ||
| arma3 |= Game name | | arma3 |= Game name | ||
|1.36|= Game version | |1.36|= Game version | ||
|arg= global|= Arguments in MP | |arg= global|= Arguments in MP | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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 |= Syntax | ||
| [[ | |p1= unit: [[Object]] |= Parameter 1 | ||
| [[Array]] of [[Number|Numbers]] |= Return value | |||
|x1= <code>_objects = [[getPersonUsedDLCs]] [[player]];</code>|= | |x1= <code>_objects = [[getPersonUsedDLCs]] [[player]];</code>|= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getDLCs]] [[getObjectDLC]] [[getMissionDLCs]] |= | | [[getDLCs]] [[getObjectDLC]] [[getMissionDLCs]] |= See also | ||
| | |mp= {{warning|This command does not work on a dedicated server}} |= MP behaviour | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 12:35, 6 May 2018
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:
- 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