EffectDarkness()
Returns a new effect object.
effect EffectDarkness();
Description
Create a Darkness effect.
Darkness makes the person Blind (50% miss chance, cannot target people with spells directly), unless they have EffectUltravision applied, and so can see through magical darkness.
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.