Difference between revisions of "SetCreatureRank"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(CREATURE_RANK* constants are defined in 2da_constants_h)
m (Updating links)
 
Line 7: Line 7:
 
|param2type=int
 
|param2type=int
 
|param2name=nRank
 
|param2name=nRank
|param2desc=The new rank ([[CREATURE_RANK*]])
+
|param2desc=The new rank ([[CREATURE_RANK_*]])
 
|returntype=void
 
|returntype=void
 
|returndesc=
 
|returndesc=
Line 21: Line 21:
 
<!-- 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 == -->
Line 29: Line 29:
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
  
[[Category: Spells and combat functions]]
+
[[Category:Spells and combat functions]]

Latest revision as of 13:23, 3 August 2011

Sets the rank of a creature.

void SetCreatureRank(
object oCreature,
int nRank
);
Parameters:
oCreature
The creature
nRank
The new rank (CREATURE_RANK_*)
Returns:

Nothing.

Source:

script.ldf

Description

Sets a creature's rank, representing its relative combat difficulty.

Remarks

CREATURE_RANK_* constants are defined in 2da_constants_h