GetCreatureAttribute

From Dragon Age Toolset Wiki
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.