EffectConcealment(int)

Returns a new effect object.

effect EffectConcealment(
    int nPercentage
);

Parameters

nPercentage

1-100 inclusive


Description

This function returns a new concealment effect. The nPercentage:int is simply the chance of discovery so a 0 concealment would be Shamu hiding in your tub and a 100 concealment would be a brine shrimp hiding in shamu's tub.

Consealment doesn't stack, only the highest applies, therefore Ghostly Visage doesn't stack with a monk's Perfect Body.



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.