getDLCAssetsUsageByName: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 6: | Line 5: | ||
|1.16|Game version= | |1.16|Game version= | ||
|gr1= DLC |GROUP1= | |gr1= DLC |GROUP1= | ||
| 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= | ||
Line 18: | Line 15: | ||
|x1= <code>_dlcAssetUsage = [[getDLCAssetsUsageByName]] "C_IDAP_Heli_Transport_02_F";</code>|EXAMPLE1= | |x1= <code>_dlcAssetUsage = [[getDLCAssetsUsageByName]] "C_IDAP_Heli_Transport_02_F";</code>|EXAMPLE1= | ||
| [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] |SEEALSO= | | [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]], [[getDLCAssetsUsage]], [[getAssetDLCInfo]] |SEEALSO= | ||
| |= MP behaviour | | |= MP behaviour | ||
}} | }} | ||
Revision as of 01:13, 17 January 2021
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
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