getDLCAssetsUsageByName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z]+\]\], )" to "|seealso=$1")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 6: Line 6:
|gr1= DLC
|gr1= DLC


| Returns an array with the session and global time the asset has been used.
|descr= Returns an array with the session and global time the asset has been used.


|s1=  [[getDLCAssetsUsageByName]] assetName
|s1=  [[getDLCAssetsUsageByName]] assetName

Revision as of 21:04, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns an array with the session and global time the asset has been used.
Groups:
DLC

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

See also:
getDLCsgetObjectDLCgetPersonUsedDLCsgetMissionDLCsgetDLCAssetsUsagegetAssetDLCInfo

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