GetCreatureAttribute

From Dragon Age Toolset Wiki
Revision as of 19:05, 2 March 2010 by BryanDerksen (Talk | contribs) (looks okay, removing tag. Adding links)

Jump to: navigation, search

Get the specified attribute from oCreature

int GetCreatureAttribute(
object oCreature,
int nAttribute,
int nValueType = PROPERTY_VALUE_TOTAL
);
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.