Difference between revisions of "GetCreaturePropertyType"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(looks okay, removing tag)
m (Updating link)
 
Line 18: Line 18:
 
Gets the type of property for a given property index.
 
Gets the type of property for a given property index.
  
The property types are: ATTRIBUTE, SIMPLE, DEPLETABLE and DERIVED. See [[PROPERTY TYPE*]]
+
The property types are: ATTRIBUTE, SIMPLE, DEPLETABLE and DERIVED. See [[PROPERTY TYPE_*]]
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Latest revision as of 19:16, 3 August 2011

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_*