EffectPacified()

From NWN Lexicon
Jump to navigationJump to search
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.

Create a Pacified effect, making the creature unable to attack anyone.

effect EffectPacified(
);

Description

Create a Pacified effect, making the creature unable to attack anyone.


Remarks

Pacified is a special creature state where they are unable to attack - with ActionAttack or similar methods (such as attacks of opportunity), and a players client will not allow attack actions to be selected from the radial on creatures, doors or placeables.

The creature can still cast spells which could make it a "better" EffectDazed for certain spells or abilities that restrict attacking but not casting spells.


Version

This function was added in 1.87.8193.35 of NWN:EE.


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



 author: Shadguy