Difference between revisions of "GetCreatureAttribute"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: re-import with default parameter value parameters set) |
BryanDerksen (Talk | contribs) (looks okay, removing tag. Adding links) |
||
(One intermediate revision by the same user 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 24: | Line 23: | ||
<!-- 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 form. | ||
− | See GetCreatureProperty for more details | + | See [[GetCreatureProperty]] for more details. |
<!-- == Remarks == --> | <!-- == Remarks == --> |
Revision as of 19:05, 2 March 2010
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.