Difference between revisions of "GetPRCEnabled"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (looks fine to me, removing tag)
 
Line 15: Line 15:
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
  
<!-- == Remarks == -->
+
== Remarks ==
<!-- This section contains additional comments, observations and known issues. -->
+
This function does not appear to work. On entry to a test trigger, the function returns FALSE for both Bioware and custom AddInItem UIDs that are in fact enabled on the in-game DLC screen. Perhaps it is designed to be called from a specific event?
  
 
<!-- == Examples == -->
 
<!-- == Examples == -->

Latest revision as of 17:13, 4 May 2010

Determine whether or not a piece of Post Release Content (PRC) is installed, enabled and authorized.

int GetPRCEnabled(
string sPRCName = ""
);
Parameters:
sPRCName
Must correspond to the PRC's AddInItem UID from the AddIns.xml file
Returns:

Returns true if the PRC specified is installed, currently enabled and authorized.

Source:

script.ldf


Remarks

This function does not appear to work. On entry to a test trigger, the function returns FALSE for both Bioware and custom AddInItem UIDs that are in fact enabled on the in-game DLC screen. Perhaps it is designed to be called from a specific event?