isDLCAvailable: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma 3 |= Game name |1.00|= Game version <!-- unkown --> ...") |
m (template:command argument fix) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns true if the DLC is marked as available. (Steam) |= | | Returns true if the DLC is marked as available. (Steam) |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[isDLCAvailable]] appid|= | | [[isDLCAvailable]] appid|SYNTAX= | ||
|p1= appid : [[Number]] |= | |p1= appid : [[Number]] |= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code> _Karts = 288520; | |x1= <code> _Karts = 288520; | ||
[[isDLCAvailable]] _Karts;//Returns true </code>|= | [[isDLCAvailable]] _Karts;//Returns true </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= | | [[getDLCs]], [[getObjectDLC]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
Line 40: | Line 40: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category: | [[Category:Command Group: DLC|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on October 19, 2014 - 02:39 (UTC)</dd> | |||
<dt class="note">[[User:Benargee|Benargee]]</dt> | |||
<dd class="note">appid can be taken from Steam DLC url. | |||
*Karts url is <nowiki>http://store.</nowiki>steampowered.com/app/'''288520'''/ | |||
*Zeus url is <nowiki>http://store.</nowiki>steampowered.com/app/'''275700'''/ | |||
*DLC bundle url is <nowiki>http://store.</nowiki>steampowered.com/app/'''304400'''/</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 15:41, 7 April 2019
Description
- Description:
- Returns true if the DLC is marked as available. (Steam)
- Groups:
- Uncategorised
Syntax
- Syntax:
- isDLCAvailable appid
- Parameters:
- appid : Number
- Return Value:
- Boolean
Examples
- Example 1:
_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
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/