GetCreaturePropertyType

From Dragon Age Toolset Wiki
Revision as of 19:16, 3 August 2011 by Sunjammer (Talk | contribs) (Updating link)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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_*