Difference between revisions of "GetPartyPlotFlag"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(missing default value for nCallScript)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetPartyPlotFlag
 
|name=GetPartyPlotFlag
Line 14: Line 13:
 
|param4type=int
 
|param4type=int
 
|param4name=nCallScript
 
|param4name=nCallScript
|param4desc=Whether or not to call the plot script. Note: this should not be set to TRUE when this function is used inside a plot script. If nBit is a defined flag then the script will start calling itself recursivly
+
|param4desc=Whether or not to call the plot script. Note: this should not be set to TRUE when this function is used inside a plot script. If nBit is a defined flag then the script will start calling itself recursively
 +
|param4desc=FALSE
 
|returntype=int
 
|returntype=int
 
|returndesc=value of the flag - TRUE or FALSE
 
|returndesc=value of the flag - TRUE or FALSE

Revision as of 21:13, 31 July 2009

Returns the value of a plot flag

int GetPartyPlotFlag(
object oParty,
string strPlot,
int nFlag,
int nCallScript
);
Parameters:
oParty
Party Object ID
strPlot
Plot name to query
nFlag
Plot flag # to query (32-127)
nCallScript
FALSE
Returns:

value of the flag - TRUE or FALSE

Source:

script.ldf

Description

Queries the state of a plot flag from a party's plot table. In order to query DEFINED flags, this function needs to query the plot script associated with that flag.


See also

SetPartyPlotFlag, GetPartyPlotVar