EffectMovementSpeedIncrease(int)

Create a Movement Speed Increase effect to speed target movement rate.

effect EffectMovementSpeedIncrease(
    int nPercentChange
);

Parameters

nPercentChange

Percentage change in movement speed


Description

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

nPercentChange can be from 0 to 99:

0 = no change in speed
50 = 50% faster
99 = almost twice as fast



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: EffectMovementSpeedDecrease
categories: Effects Functions | Movement Functions


 author: John Shuell, editor: Jasperre
 Send comments on this topic.