EffectFrightened()
Create a frightened effect for use in making creatures shaken or flee.
effect EffectFrightened();
Description
Constructor for a frightened effect.
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 EffectTurned uses.
Remarks
Conversation actions don't work when the object is frightened.
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.61
See Also
categories: | Effects Functions |
author: Michael Nork, editor: Jasperre, additional contributor(s): Brian O'keefe, Jasperre
Send comments on this topic.