Difference between revisions of "SetPartyPlotFlag"
From Dragon Age Toolset Wiki
m (Adding remarks, cleaning up template, removing dead links) |
m (→Remarks: fixing link) |
||
Line 38: | Line 38: | ||
== Remarks == | == Remarks == | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
− | [[OBJECT_INVALID keyword|OBJECT_INVALID]] is valid for the '''oParty''' parameter (see [[ | + | [[OBJECT_INVALID keyword|OBJECT_INVALID]] is valid for the '''oParty''' parameter (see [[GetParty]]). |
The plot's GUID and ResRef are both valid for the '''strPlot''' parameter. | The plot's GUID and ResRef are both valid for the '''strPlot''' parameter. | ||
Line 45: | Line 45: | ||
<!-- == Examples == --> | <!-- == Examples == --> | ||
<!-- This section contains examples transcluded from the snippet library. --> | <!-- This section contains examples transcluded from the snippet library. --> | ||
+ | |||
== See also == | == See also == | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
[[GetPartyPlotFlag]] | [[GetPartyPlotFlag]] | ||
[[Category: Plot manager functions]] | [[Category: Plot manager functions]] |
Latest revision as of 22:28, 6 August 2011
Sets the value of a plot flag
void SetPartyPlotFlag(
object oParty,
string strPlot,
int nFlag,
int nValue,
int nCallScript = FALSE
);
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.