isDLCAvailable

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns true if the DLC (CDLC included) is marked as available on Steam. Official and Creator DLC appIds can be found on Arma 3: DLCs & Expansions and Arma 3: CDLCs pages.
This command will return true if the DLC is owned, even if it is not installed!
Groups:
DLC

Syntax

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

Examples

Example 1:
private _karts = 288520; isDLCAvailable _karts; // returns true

Additional Information

See also:
getDLCs getObjectDLC getPersonUsedDLCs getMissionDLCs

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
Benargee - c
Posted on Oct 19, 2014 - 02:39 (UTC)
appId can be taken from Steam DLC url, e.g Karts url is http://store.steampowered.com/app/288520/.