SetPartyPlotFlag

From Dragon Age Toolset Wiki
Revision as of 22:28, 6 August 2011 by Sunjammer (Talk | contribs) (Remarks: fixing link)

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

Sets the value of a plot flag

void SetPartyPlotFlag(
object oParty,
string strPlot,
int nFlag,
int nValue,
int nCallScript = FALSE
);
Parameters:
oParty
party object
strPlot
plot name to query
nFlag
plot flag number to modify (0-127)
nValue
TRUE, to set the plot flag, or FALSE
nCallScript
Whether or not to call the plot script
Returns:

Nothing.

Source:

script.ldf

Description

Sets the state of a plot flag in a party's plot table.

Remarks

OBJECT_INVALID is valid for the oParty parameter (see GetParty).

The plot's GUID and ResRef are both valid for the strPlot parameter.

This function cannot be used to set a DEFINED flag's value.

See also

GetPartyPlotFlag