Difference between revisions of "GetCreatureRank"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Updating links)
 
Line 6: Line 6:
 
|param1desc=The creature
 
|param1desc=The creature
 
|returntype=int
 
|returntype=int
|returndesc=The [[CREATURE_RANK*]] constant associated with the creature.
+
|returndesc=The [[CREATURE_RANK_*]] constant associated with the creature.
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=
Line 18: Line 18:
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
  
[[CREATURE_RANK*]] constants are defined in 2da_constants_h
+
[[CREATURE_RANK_*]] constants are defined in [[2da_constants_h]]
  
 
<!-- == Examples == -->
 
<!-- == Examples == -->

Latest revision as of 13:24, 3 August 2011

Returns the rank of a creature

int GetCreatureRank(
object oCreature
);
Parameters:
oCreature
The creature
Returns:

The CREATURE_RANK_* constant associated with the creature.

Source:

script.ldf

Description

Returns the CreatureRank of a creature, representing its relative combat difficulty.

Remarks

CREATURE_RANK_* constants are defined in 2da_constants_h