Difference between revisions of "GetCombatantType"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (noting the inconsistency Sunjammer found in this function's return type) |
BryanDerksen (Talk | contribs) m |
||
Line 16: | Line 16: | ||
Returns a CREATURE_TYPE_COMBATANT or CREATURE_TYPE_NON_COMBATANT constant. | Returns a CREATURE_TYPE_COMBATANT or CREATURE_TYPE_NON_COMBATANT constant. | ||
− | Note that 2da_constants_h also defines a set of CREATURE_TYPE constants. These are not returned by this function, only the CREATURE_TYPE constants defined in script.ldf apply here. | + | Note that 2da_constants_h also defines a set of [[CREATURE_TYPE*]] constants. These are not returned by this function, only the CREATURE_TYPE constants defined in script.ldf apply here. |
<!-- == Remarks == --> | <!-- == Remarks == --> |
Revision as of 21:20, 19 February 2010
Returns the Combatant Type of a creature
- Parameters:
- oidCreature
- The creature
- Returns:
- a CREATURE_TYPE_COMBATANT or CREATURE_TYPE_NON_COMBATANT constant
- Source:
- script.ldf
Description
Returns a CREATURE_TYPE_COMBATANT or CREATURE_TYPE_NON_COMBATANT constant.
Note that 2da_constants_h also defines a set of CREATURE_TYPE* constants. These are not returned by this function, only the CREATURE_TYPE constants defined in script.ldf apply here.