Difference between revisions of "GetCreatureAttribute"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: re-import with default parameter value parameters set) |
m (Updating link) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetCreatureAttribute | |name=GetCreatureAttribute | ||
Line 13: | Line 12: | ||
|param3type=int | |param3type=int | ||
|param3name=nValueType | |param3name=nValueType | ||
− | |param3desc=the type of value of the property we want to know about (TOTAL, BASE, CURRENT, MODIFIER) | + | |param3desc=the type of value of the property we want to know about (TOTAL, BASE, CURRENT, MODIFIER - see [[PROPERTY_VALUE_*]]) |
|param3default=PROPERTY_VALUE_TOTAL | |param3default=PROPERTY_VALUE_TOTAL | ||
|returntype=int | |returntype=int | ||
Line 23: | Line 22: | ||
== 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. --> | ||
− | Get oCreature's Attribute/Property value in an int form. | + | Get oCreature's Attribute/Property value in an [[Int keyword|int]] form. |
− | See GetCreatureProperty for more details | + | See [[GetCreatureProperty]] for more details. |
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
Line 35: | Line 34: | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
− | [[Category: Stats functions]] | + | [[Category:Stats functions]] |
Latest revision as of 19:15, 3 August 2011
Get the specified attribute from oCreature
- Parameters:
- oCreature
- the creature whose stat is being requested
- nAttribute
- the property (stat) we want to know about
- nValueType
- the type of value of the property we want to know about (TOTAL, BASE, CURRENT, MODIFIER - see PROPERTY_VALUE_*)
- Returns:
- Returns oCreature's Attribute Value
- Source:
- script.ldf
Description
Get oCreature's Attribute/Property value in an int form. See GetCreatureProperty for more details.