GetCreaturePropertyType

From Dragon Age Toolset Wiki
Jump to: navigation, search

Get the specified attribute from oCreature

int GetCreaturePropertyType(
object oCreature,
int nProperty
);
Parameters:
oCreature
the creature whose property type is requested
nProperty
the property (stat) we want to know about
Returns:

Returns the selected property's type.

Source:

script.ldf

Description

Gets the type of property for a given property index.

The property types are: ATTRIBUTE, SIMPLE, DEPLETABLE and DERIVED. See PROPERTY TYPE_*