getDLCUsageTime: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 14: | Line 14: | ||
|r1= [[Number]] - DLC assets usage time in seconds | |r1= [[Number]] - DLC assets usage time in seconds | ||
|x1= <code>private _kartsUsage = | |x1= <code>private _kartsUsage = getDLCUsageTime 288520;</code> | ||
|seealso= [[getDLCs]] [[getObjectDLC]] [[getPersonUsedDLCs]] [[getMissionDLCs]] [[getDLCAssetsUsageByName]] [[getDLCAssetsUsage]] [[getAssetDLCInfo]] | |seealso= [[getDLCs]] [[getObjectDLC]] [[getPersonUsedDLCs]] [[getMissionDLCs]] [[getDLCAssetsUsageByName]] [[getDLCAssetsUsage]] [[getAssetDLCInfo]] | ||
}} | }} |
Revision as of 11:03, 12 May 2022
Description
- Description:
- Returns total time the assets of the given DLC have been used. See Arma 3 DLCs & Expansions for a list of DLCs and ids.
- Groups:
- DLC
Syntax
- Syntax:
- getDLCUsageTime appId
- Parameters:
- appId: Number - DLC's Steam appId
- Return Value:
- Number - DLC assets usage time in seconds
Examples
- Example 1:
private _kartsUsage = getDLCUsageTime 288520;
Additional Information
- See also:
- getDLCs getObjectDLC getPersonUsedDLCs getMissionDLCs getDLCAssetsUsageByName getDLCAssetsUsage getAssetDLCInfo
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