Difference between revisions of "GetCombatantType"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
m (links)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetCombatantType
 
|name=GetCombatantType
Line 7: Line 6:
 
|param1desc=The creature
 
|param1desc=The creature
 
|returntype=int
 
|returntype=int
|returndesc=Index into creaturetypes.xls (CREATURE_TYPE_* constant)
+
|returndesc=Index into creaturetypes.xls ([[CREATURE_TYPE*]] constant)
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=
Line 14: Line 13:
 
== Description ==
 
== Description ==
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
The function returns the creature type index from (creaturetypes.xls) as defined
+
The function returns the creature type index from ([[creaturetypes.xls]]) as defined in the toolset.
in the toolset.
+
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Revision as of 21:59, 11 February 2010

Returns the Creature Type (aka Combatant Type) of a creature

int GetCombatantType(
object oidCreature
);
Parameters:
oidCreature
The creature
Returns:

Index into creaturetypes.xls (CREATURE_TYPE* constant)

Source:

script.ldf

Description

The function returns the creature type index from (creaturetypes.xls) as defined in the toolset.