getDLCAssetsUsageByName: Difference between revisions

From Bohemia Interactive Community
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. |= Description
| Returns an array with the session and global time the asset has been used. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[getDLCAssetsUsageByName]] assetName |= Syntax
| [[getDLCAssetsUsageByName]] assetName |SYNTAX=


|p1= assetName: [[String]] |= Parameter 1
|p1= assetName: [[String]] |PARAMETER1=


| [[Array]] - array in format: [sessionTime, totalTime]. |= Return value
| [[Array]] - array in format: [sessionTime, totalTime]. |RETURNVALUE=


|x1= <code>_dlcAssetUsage = [[getDLCAssetsUsageByName]] "C_IDAP_Heli_Transport_02_F";</code>|= Example 1
|x1= <code>_dlcAssetUsage = [[getDLCAssetsUsageByName]] "C_IDAP_Heli_Transport_02_F";</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[getDLCs]], [[getObjectDLC]], [[getDLCAssetsUsage]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |= See also
| [[getDLCs]], [[getObjectDLC]], [[getDLCAssetsUsage]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |SEEALSO=


|  |= MP behaviour
|  |= MP behaviour

Revision as of 15:40, 7 April 2019

Hover & click on the images for description

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

See also:
getDLCsgetObjectDLCgetDLCAssetsUsagegetPersonUsedDLCsgetMissionDLCs

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

Notes

Bottom Section