Login
OFPEC RSS
Username:
Password:
Not a member yet?
Register for free!
Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
›
COMREF
›
G
›
getDLCs
getDLCs
filter
Operand types
filter
:
Number
Type of returned value
Array
Description
Returns array of appIDs of DLCs.
Use filter param to get specific type of DLCs:
0 - all
1 - owned
2 - not owned
Returned number is the Steam ID of the DLC.
Used In
Arma3
Example
_ownedDLCs = getDLCs 1;
// Returns with Supporter Edition: [275700,249860,304400,249861,249862,288520]
switch (_ownedDLC) do {
case 275700: {player globalChat "Zeus owned."};
case 249860: {player globalChat "Arma3 Soundtrack owned."}; // bonus materiel for Supporter Edition
case 304400: {player globalChat "Arma3 DLC Bundle owned."};
case 249861: {player globalChat "Arma3 Maps"}; // bonus materiel for Supporter Edition
case 249862: {player globalChat "Arma3 Tactical Guide"}; // bonus materiel for Supporter Edition
case 288520: {player globalChat "Karts owned."};
};
Search OFPEC COMREF
Types
Arrays
Scripting Topics
BIS Functions
Arma2 CfgVehicles
Arma2 Weapons
ArmA CfgVehicles
ArmA Weapons
OFP CfgVehicles
OFP Weapons
- Select Game -
List All
Arma3 Only
Arma2:OA Only
Arma2 Only
ArmA Only
Elite
Original OFP
- Select Group -
objects
units
groups
vehicles
weapons
arrays
items
backpacks
buldozer
mines
uniforms
vests
tasks
locations
artillery
configs
UAVs
briefings
mission flow
sites
map
draw
leaderboards
markers
environment
game
dialogs
displays
namespaces
radio
channels
FSM
diagnostics
firing from vehicles
slingload
advanced flight model
DLC
weapon stabilization
suppression
waypoints
cutscenes
sound
mathematics
variables
script commands
multiplayer
Zeus
3D editor
3D draw
Top of page