getDLCAssetsUsageByName: Difference between revisions
Jump to navigation
Jump to search
m (added category) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns an array with the session and global time the asset has been used. |= | | Returns an array with the session and global time the asset has been used. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getDLCAssetsUsageByName]] assetName |= | | [[getDLCAssetsUsageByName]] assetName |SYNTAX= | ||
|p1= assetName: [[String]] |= | |p1= assetName: [[String]] |PARAMETER1= | ||
| [[Array]] - array in format: [sessionTime, totalTime]. |= | | [[Array]] - array in format: [sessionTime, totalTime]. |RETURNVALUE= | ||
|x1= <code>_dlcAssetUsage = [[getDLCAssetsUsageByName]] "C_IDAP_Heli_Transport_02_F";</code>|= | |x1= <code>_dlcAssetUsage = [[getDLCAssetsUsageByName]] "C_IDAP_Heli_Transport_02_F";</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getDLCs]], [[getObjectDLC]], [[getDLCAssetsUsage]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |= | | [[getDLCs]], [[getObjectDLC]], [[getDLCAssetsUsage]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |SEEALSO= | ||
| |= MP behaviour | | |= MP behaviour |
Revision as of 14:40, 7 April 2019
Description
- Description:
- Returns an array with the session and global time the asset has been used.
- Groups:
- Uncategorised
Syntax
- Syntax:
- getDLCAssetsUsageByName assetName
- Parameters:
- assetName: String
- Return Value:
- Array - array in format: [sessionTime, totalTime].
Examples
- Example 1:
_dlcAssetUsage = getDLCAssetsUsageByName "C_IDAP_Heli_Transport_02_F";
Additional Information
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