Difference between revisions of "GetPRCEnabled"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetPRCEnabled | |name=GetPRCEnabled | ||
Line 6: | Line 5: | ||
|param1name=sPRCName | |param1name=sPRCName | ||
|param1desc=Must correspond to the PRC's AddInItem UID from the AddIns.xml file | |param1desc=Must correspond to the PRC's AddInItem UID from the AddIns.xml file | ||
+ | |param1default="" | ||
|returntype=int | |returntype=int | ||
|returndesc=Returns true if the PRC specified is installed, currently enabled and authorized. | |returndesc=Returns true if the PRC specified is installed, currently enabled and authorized. | ||
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 == | |
− | + | 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.
- 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?