getDLCUsageTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= DLC |GROUP1=")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|game1= arma3 |Game name=
|game1= arma3
|version1= 1.00


|version= 1 |Game version=
|gr1= DLC
|gr1= DLC |GROUP1=


|gr1= DLC |=GROUP1
|descr= Returns total time the assets of the given DLC have been used. See [[:Category:Arma 3 DLCs & Expansions|Arma 3 DLCs & Expansions]] for a list of DLCs and ids.
____________________________________________________________________________________________


|descr= Returns total time the assets of the given DLC have been used. See [[Arma 3 DLCs Overview]] for a list of DLCs and ids. |Description=
|s1= [[getDLCUsageTime]] appId
____________________________________________________________________________________________


|s1= [[getDLCUsageTime]] appId |Syntax=
|p1= appId: [[Number]] - DLC's Steam appId


|p1= appId: [[Number]] - DLC's Steam appId  |Parameter 1=
|r1= [[Number]] - DLC assets usage time in seconds


|r1= [[Number]] - DLC assets usage time in seconds |Return Value=
|x1= <sqf>private _kartsUsage = getDLCUsageTime 288520;</sqf>
____________________________________________________________________________________________


|x1= <code>[[private]] _kartsUsage = [[getDLCUsageTime]] 288520;</code> |Example 1=
|seealso= [[getDLCs]] [[getObjectDLC]] [[getPersonUsedDLCs]] [[getMissionDLCs]] [[getDLCAssetsUsageByName]] [[getDLCAssetsUsage]] [[getAssetDLCInfo]]
____________________________________________________________________________________________
 
|seealso= [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsageByName]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] |See Also=
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 10:23, 13 May 2022

Hover & click on the images for description

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