isDLCAvailable: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add (C)DLC appId links) |
Lou Montana (talk | contribs) m (Some SQF code standard) |
||
Line 15: | Line 15: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <code>_karts = 288520; | |x1= <code>[[private]] _karts = 288520; | ||
[[isDLCAvailable]] _karts; {{cc|returns true}}</code> | [[isDLCAvailable]] _karts; {{cc|returns true}}</code> | ||
Revision as of 23:59, 19 September 2021
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.
- Groups:
- DLC
Syntax
- Syntax:
- isDLCAvailable appId
- Parameters:
- appid : Number
- Return Value:
- Boolean
Examples
- Example 1:
private _karts = 288520; isDLCAvailable _karts; // returns true
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
- 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/.