EffectMovementSpeedDecrease(int)

Create a Movement Speed Decrease effect to slow target.

effect EffectMovementSpeedDecrease(
    int nPercentChange
);

Parameters

nPercentChange


Description

Returns a new effect object that when applied to a target will slow their movement by nPercentChange percent.

As defined by Bioware, nPercentChange:

0 = no change in speed
50 = 50% slower
99 = almost immobile

Also note that EffectCutsceneImmobilize() is a better way of stopping the creature moving at all.



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

functions: EffectMovementSpeedIncrease
categories: Effects Functions | Movement Functions


 author: John Shuell, editor: Jasperre, additional contributor(s): Jasperre
 Send comments on this topic.