GetPRCEnabled

From Dragon Age Toolset Wiki
Jump to: navigation, search

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?