isDLCAvailable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 6: Line 5:
|1.00|Game version=
|1.00|Game version=
|gr1= DLC |GROUP1= <!-- unkown -->
|gr1= DLC |GROUP1= <!-- unkown -->
____________________________________________________________________________________________


| Returns true if the DLC is marked as available. (Steam) |DESCRIPTION=
| Returns true if the DLC is marked as available. (Steam) |DESCRIPTION=
____________________________________________________________________________________________


| [[isDLCAvailable]] appid|SYNTAX=
| [[isDLCAvailable]] appid|SYNTAX=
Line 22: Line 19:
[[isDLCAvailable]] _Karts;//Returns true </code>|EXAMPLE1=  
[[isDLCAvailable]] _Karts;//Returns true </code>|EXAMPLE1=  


____________________________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 02:36, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns true if the DLC is marked as available. (Steam)
Groups:
DLC

Syntax

Syntax:
isDLCAvailable appid
Parameters:
appid : Number
Return Value:
Boolean

Examples

Example 1:
_Karts = 288520; isDLCAvailable _Karts;//Returns true

Additional Information

See also:
getDLCsgetObjectDLCgetPersonUsedDLCsgetMissionDLCs

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


Posted on October 19, 2014 - 02:39 (UTC)
Benargee
appid can be taken from Steam DLC url.
  • Karts url is http://store.steampowered.com/app/288520/
  • Zeus url is http://store.steampowered.com/app/275700/
  • DLC bundle url is http://store.steampowered.com/app/304400/