Difference between revisions of "GetTurnResistanceHD"

From NWN Lexicon
Jump to: navigation, search
(Created page with " =GetTurnResistanceHD(object)= Determines the number of HitDice of Turn Resistance the undead creature has. int  GetTurnResistanceHD(     [[obje...")
 
Line 7: Line 7:
 
Determines the number of HitDice of Turn Resistance the undead creature has.
 
Determines the number of HitDice of Turn Resistance the undead creature has.
  
 +
<nwscript>
 
  [[int | int ]] GetTurnResistanceHD(
 
  [[int | int ]] GetTurnResistanceHD(
 
      [[object | object ]] oUndead = OBJECT_SELF
 
      [[object | object ]] oUndead = OBJECT_SELF
 
  );
 
  );
 +
</nwscript>
  
 
====Parameters====
 
====Parameters====

Revision as of 20:46, 25 August 2012



GetTurnResistanceHD(object)

Determines the number of HitDice of Turn Resistance the undead creature has.

 [[int | int ]] GetTurnResistanceHD(
     [[object | object ]] oUndead = OBJECT_SELF
 );

Parameters

oUndead

undead creature to run check on. (Default: OBJECT_SELF)


Description

Get the number of Hitdice worth of Turn Resistance that oUndead may have. This will only work on undead creatures.



Version

1.22

See Also

functions: 

GetEnemyHD



 author: Jody Fletcher