getDLCAssetsUsageByName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.16|Game version=
|1.16
|gr1= DLC |GROUP1=
|gr1= DLC


| 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.


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


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


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


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


| [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] |SEEALSO=
| [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]]


|  |= MP behaviour
|  |= MP behaviour

Revision as of 01:37, 18 January 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

Notes

Bottom Section