|
|
| (39 intermediate revisions by 5 users not shown) |
| Line 1: |
Line 1: |
| {{Command|= Comments | | {{RV|type=command |
| ____________________________________________________________________________________________
| |
|
| |
|
| | arma3 |= Game name | | |game1= arma3 |
| | |version1= 1.16 |
|
| |
|
| |1.16|= Game version | | |gr1= DLC |
| ____________________________________________________________________________________________
| |
|
| |
|
| | Returns array of appIDs of DLCs. Use filter param to get specific type of DLCs: <br> | | |descr= Returns array of app IDs of DLCs. |
| 0 - all<br>
| |
| 1 - owned<br>
| |
| 2 - not owned|= Description
| |
| ____________________________________________________________________________________________
| |
|
| |
|
| | '''getDLCs''' filter |= Syntax | | |s1= [[getDLCs]] filter |
|
| |
|
| |p1= filter: [[Number]] |= | | |p1= filter: [[Number]] - can be: |
| | * 0 - all |
| | * 1 - owned |
| | * 2 - not owned |
|
| |
|
| | [[Array]] - array of numbers |= RETURNVALUE | | |r1= [[Array]] - array of DLC numbers. |
|
| |
|
| | |x1= <sqf>_ownedDLCs = getDLCs 1;</sqf> |
|
| |
|
| |x1= <code>_ownedDLCs = [[getDLCs]] 1;</code>|= Example 1 | | |x2= <sqf>_hasKarts = (288520 in (getDLCs 1));</sqf> |
|
| |
|
| |x2= Is [http://store.steampowered.com/app/288520/ the Karts DLC] ''owned'' by this client? | | |seealso= [[getObjectDLC]] [[getPersonUsedDLCs]] [[getMissionDLCs]] [[getDLCAssetsUsageByName]] [[getDLCAssetsUsage]] [[getAssetDLCInfo]] |
| <code>[[hintSilent]] [[str]] (288520 [[in]] ([[getDLCs]] 1));</code>|= Example 2
| |
| | |
| ____________________________________________________________________________________________
| |
| | |
| | [[getObjectDLC]] [[getPersonUsedDLCs]] [[getMissionDLCs]] |= SEEALSO
| |
| | |
| | |= MPBEHAVIOUR
| |
| ____________________________________________________________________________________________
| |
| }} | | }} |
|
| |
|
| <h3 style='display:none'>Notes</h3>
| | {{Note |
| <dl class='command_description'>
| | |user= Benargee |
| <!-- Note Section BEGIN -->
| | |timestamp= 20150407202700 |
| | | |text= App ID can be found in CfgMods. Here is an example path from zeus using the Splendid Config Viewer: |
| <!-- Note Section END -->
| | <sqf>configFile >> "CfgMods" >> "Curator" >> "appId"</sqf> |
| </dl>
| |
| | |
| <h3 style='display:none'>Bottom Section</h3>
| |
| [[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
| |
| [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
| |
| | |
| <!-- CONTINUE Notes -->
| |
| <dl class="command_description">
| |
| <dd class="notedate">Posted on May 30, 2014 - 18:08 (UTC)</dd>
| |
| <dt class="note">'''[[User:Sniperwolf572|Sniperwolf572]]'''</dt>
| |
| <dd class="note">
| |
| Current list of IDs that correspond to the available DLCs:
| |
| <br><br>
| |
| 275700 - Arma 3 Zeus<br>
| |
| 249860 - Arma 3 Soundtrack<br>
| |
| 304400 - Arma 3 DLC Bundle<br>
| |
| 249861 - Arma 3 Maps<br>
| |
| 249862 - Arma 3 Tactical Guide<br>
| |
| 288520 - Arma 3 Karts<br>
| |
| 304380 - Arma 3 Helicopters<br>
| |
| 332350 - Arma 3 Marksmen
| |
| </dd>
| |
| </dl>
| |
| <!-- DISCONTINUE Notes -->
| |
| | |
| <!-- CONTINUE Notes -->
| |
| <dl class="command_description">
| |
| <dd class="notedate">Posted on April 7, 2015 - 20:27 (UTC)</dd>
| |
| <dt class="note">[[User:Benargee|Benargee]]</dt>
| |
| <dd class="note">
| |
| To add to the note above, app ID can be found in CfgMods. Here is an example path from zeus using the Splendid Config Viewer:
| |
| <code>[[configFile]] >> "CfgMods" >> "Curator" >> "appId"</code> | |
| This method can be used to find app IDs without having to find a list like the one above.<br> | | This method can be used to find app IDs without having to find a list like the one above.<br> |
| I am also pretty sure you are able to define your own app ID for your own mods using this method. | | I am also pretty sure you are able to define your own app ID for your own mods using this method. |
| </dd>
| | }} |
| </dl>
| |
| <!-- DISCONTINUE Notes -->
| |
| | |
| <!-- CONTINUE Notes -->
| |
| <dl class="command_description">
| |
| <dd class="notedate">Posted on July 1, 2016 - 17:33 (UTC)</dd>
| |
| <dt class="note">[[User:Armitxes|Armitxes]]</dt>
| |
| <dd class="note">The required DLC-IDs equal to the Steam App-IDs of each obtainable DLC.<br>
| |
| To extend Sniperwolfs list:<br>
| |
| <br>
| |
| 395180 - Arma 3 Apex
| |
| </dd>
| |
| </dl>
| |
| <!-- DISCONTINUE Notes -->
| |
| | |
| <!-- CONTINUE Notes -->
| |
| <dl class="command_description">
| |
| <dd class="notedate">Posted on October 30, 2017 - 18:20 (UTC)</dd>
| |
| <dt class="note">[[User:Midnighters|Midnighters]]</dt>
| |
| <dd class="note">
| |
| More dlc
| |
| <br>
| |
| Arma 3 Laws of War 571710
| |
| <br>
| |
| Arma 3 Jets 601670
| |
| </dd>
| |
| </dl>
| |
| <!-- DISCONTINUE Notes -->
| |
| | |
| <!-- CONTINUE Notes -->
| |
| <dl class="command_description">
| |
| <dd class="notedate">Posted on April 17, 2018 - 01:35 (UTC)</dd>
| |
| <dt class="note">[[User:HazJ|HazJ]]</dt>
| |
| <dd class="note">
| |
| Even more DLC<br>
| |
| Tac Ops DLC 744950<br>
| |
| Tanks DLC 798390
| |
| </dd>
| |
| </dl>
| |
| <!-- DISCONTINUE Notes -->
| |