Difference between revisions of "SetAbilityPenaltyLimit"

From NWN Lexicon
Jump to: navigation, search
(Created page with "{{NWNEE}}Sets the ability penalty limit. <nwscript> void SetAbilityPenaltyLimit( int nNewLimit ); </nwscript> ===Parameters=== ; nNewLimit : The value to set the bonus t...")
 
(See Also)
Line 27: Line 27:
 
{| class="seealso"
 
{| class="seealso"
 
| width="1px" align="right" valign="top" | <font color="gray">functions: </font>
 
| width="1px" align="right" valign="top" | <font color="gray">functions: </font>
|[[GetAbilityPenaltyLimit]], [[SetAbilityBonusLimit]]
+
|[[GetAbilityPenaltyLimit]](), [[SetAbilityBonusLimit]]()
 
|}<br />
 
|}<br />
 
----
 
----
  
[[Category:Functions]]{{DISPLAYTITLE:SetAbilityPenaltyLimit(int)}}
+
[[Category:Functions]]
 +
{{DISPLAYTITLE:SetAbilityPenaltyLimit(int)}}

Revision as of 07:42, 6 May 2018

Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.
Sets the ability penalty limit.
void SetAbilityPenaltyLimit(
    int nNewLimit
);

Parameters

nNewLimit
The value to set the bonus to.

Description

Sets the ability penalty limit. The minimum value is 0.

Remarks

Information icon.png This section of the article is a stub. You can help the NWN Lexicon by expanding it.

Version

1.74.8158

Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.

See Also

functions: GetAbilityPenaltyLimit(), SetAbilityBonusLimit()