Difference between revisions of "SetBaseAttackBonus"

From NWN Lexicon
Jump to: navigation, search
(Description)
Line 28: Line 28:
 
====Description====
 
====Description====
  
Sets the number of base attacks for the specified creatures. The range of values accepted are from 1 to 6 <br /><br /> Note: This function does not work on Player Characters
+
Sets the number of base attacks for the specified creatures. The range of values accepted are from 1 to 6.
  
 
<br /><br />
 
<br /><br />

Revision as of 13:13, 10 September 2012



SetBaseAttackBonus(int, object)

Sets the number of base attacks for the specified creature

void SetBaseAttackBonus(
    int nBaseAttackBonus,
    object oCreature = OBJECT_SELF
);

Parameters

nBaseAttackBonus

Attack bonus to set

oCreature

Creature to set the bonus on (Default: OBJECT_SELF)


Description

Sets the number of base attacks for the specified creatures. The range of values accepted are from 1 to 6.



Version

1.61

See Also

functions: 

RestoreBaseAttackBonus



 author: Lilac Soul