isDLCAvailable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " 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.00|Game version=
|1.00
|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)


| [[isDLCAvailable]] appid|SYNTAX=
| [[isDLCAvailable]] appid


|p1= appid : [[Number]]
|p1= appid : [[Number]]




| [[Boolean]] |RETURNVALUE=
| [[Boolean]]




|x1= <code> _Karts = 288520;
|x1= <code> _Karts = 288520;
[[isDLCAvailable]] _Karts;//Returns true </code>|EXAMPLE1=
[[isDLCAvailable]] _Karts;//Returns true </code>




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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:40, 18 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/