WR GetPlotFlag

From Dragon Age Toolset Wiki
Revision as of 14:06, 27 March 2012 by Sunjammer (Talk | contribs) (Fixing source)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the value of a plot flag, optionally running the plot event script

int WR_GetPlotFlag(
string strPlot,
int nFlag,
int nCallScript = FALSE
);
Parameters:
strPlot
name of the plot
nFlag
which flag in the plot to get the value of
nCallScript
whether to call the event script associated with this plot
Returns:

the value of the plot flag

Source:

Core Game Resources.wrappers_h