Thread Tools Display Modes
Prev Previous Post   Next Post Next
03/20/16, 02:37 PM   #1
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Possible to check if player have DLC access?

I wonder if there is a function I missed that can tell me if a player have access to a specific DLC.
I need it to hide/show certain quests.

Lets say each DLC was given a number value, like this:
1 = Imperial City
2 = Orsinium
3 = Thieves Guild

and the function was like this:
isDLCAvailable(DLC number)
Returns true/false depending on if the player has access to that DLC.

Then I could do something like this:

Lua Code:
  1. If isDLCAvailable(2) then
  2. -- show quests in the Orsinium dlc zone and subzones
  3. end
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Possible to check if player have DLC access?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off