Difference between revisions of "GetCombatantType"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) m (links) |
||
Line 1: | Line 1: | ||
− | |||
{{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 ( | + | |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
- 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.