EffectTurned()

Returns a new effect object.

effect EffectTurned();

Description

Create a Turned effect.

Turned effects are specifically used to bypass Immunity to Fear, as it is basically a fear effect. It is used to make undead run off from a cleric who turns them (script "nw_s2_turndead").

The default heartbeat script defined in the 2da file "statescripts.2da", called "nw_g0_fear" will run every 6 seconds when a creature is affected by fear. This is the same script as EffectFrightened uses.



Remarks

Constructors are special methods that return a new instance of an object. In NWN Script each effect that you can place on an object has it’s own constructor that creates a new instance of the specified effect. This effect object can then be used in an ApplyEffectToObject() Command. See Effect Constructor for more details.


Version

1.22

See Also

categories: Effects Functions


 author: Michael Nork, editor: Jasperre
 Send comments on this topic.