Difference between revisions of "SetPartyPlotFlag"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (looks alright, removing tag)
m (Remarks: fixing link)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
|name=SetPartyPlotFlag
+
|name         = SetPartyPlotFlag
|brief=Sets the value of a plot flag
+
|brief         = Sets the value of a plot flag
|param1type=object
+
|param1type   = object
|param1name=oParty
+
|param1arra    =
|param1desc=Party Object ID
+
|param1name   = oParty
|param1default=
+
|param1default =
|param2type=string
+
|param1desc    = party object
|param2name=strPlot
+
|param2type   = string
|param2desc=Plot name to query
+
|param2arra    =
|param2default=
+
|param2name   = strPlot
|param3type=int
+
|param2default =
|param3name=nFlag
+
|param2desc   = plot name to query
|param3desc=Plot flag # to query (32-127)
+
|param3type    = int
|param3default=
+
|param3arra    =
|param4type=int
+
|param3name   = nFlag
|param4name=nValue
+
|param3default =
|param4desc=Value to set (TRUE or FALSE)
+
|param3desc   = plot flag number to modify (0-127)
|param4default=
+
|param4type    = int
|param5type=int
+
|param4arra    =
|param5name=nCallScript
+
|param4name   = nValue
|param5desc=Whether or not to call the plot script
+
|param4default =
|param5default=FALSE
+
|param4desc   = TRUE, to set the plot flag, or FALSE
|returntype=void
+
|param5type    = int
|returndesc=
+
|param5arra    =
|sourcefile=script.ldf
+
|param5name   = nCallScript
|sourcemodule=
+
|param5default = FALSE
 +
|param5desc   = Whether or not to call the plot script
 +
|returntype    = void
 +
|returnarra    =
 +
|returndesc   =
 +
|sourcemodule  =
 +
|sourcefile   = script.ldf
 
}}
 
}}
 
 
== Description ==
 
== Description ==
 
<!-- 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. -->
 
Sets the state of a plot flag in a party's plot table.
 
Sets the state of a plot flag in a party's plot table.
 +
== Remarks ==
 +
<!-- This section contains additional comments, observations and known issues. -->
 +
[[OBJECT_INVALID keyword|OBJECT_INVALID]] is valid for the '''oParty''' parameter (see [[GetParty]]).
  
<!-- == Remarks == -->
+
The plot's GUID and ResRef are both valid for the '''strPlot''' parameter.
<!-- This section contains additional comments, observations and known issues. -->
+
  
 +
This function cannot be used to set a DEFINED flag's value.
 
<!-- == Examples == -->
 
<!-- == Examples == -->
 
<!-- This section contains examples transcluded from the snippet library. -->
 
<!-- This section contains examples transcluded from the snippet library. -->
Line 40: Line 48:
 
== 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]], [[GetPartyPlotVar]], [[SetPartyPlotVar]]
+
[[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
);
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