isDLCAvailable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
(5 intermediate revisions by 3 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=


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




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




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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR
|  |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:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: DLC|{{uc:{{PAGENAME}}}}]]
 


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->

Revision as of 15:41, 7 April 2019

Hover & click on the images for description

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

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/