Difference between revisions of "GetHasEffects"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: re-import with default parameter value parameters set)
m (Correcting category)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
 
|sourcemodule=
 
|sourcemodule=
 
}}
 
}}
 
 
== 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. -->
 
Returns whether or not a creature has effects matching the filter criteria
 
Returns whether or not a creature has effects matching the filter criteria
 
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
 
 
<!-- == 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. -->
  
[[Category: Effect access functions]]
+
[[Category:Effect functions]]

Latest revision as of 19:14, 10 March 2012

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

Returns whether or not a creature has effects matching the filter criteria

int GetHasEffects(
object oObject,
int nEffectType = EFFECT_TYPE_INVALID,
int nAbilityId = -1
);
Parameters:
oObject
The object from which we try to get the effects list
nEffectType
(optional) only return an array of a specified EffectType. Default setting returns all applied effects
nAbilityId
(optional) filter the returned array to include only effects with a matching ability id (-1 means no filter)
Returns:

[Undocumented]

Source:

script.ldf

Description

Returns whether or not a creature has effects matching the filter criteria