Table of Contents

Method ActionForceMoveTo

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ActionForceMoveTo(Location, bool, TimeSpan?)

Instructs this creature to walk/run to the specified target location.

public Task ActionForceMoveTo(Location target, bool run = false, TimeSpan? timeOut = null)

Parameters

target Location

The location to move towards.

run bool

If true, the creature will run rather than walk.

timeOut TimeSpan?

The amount of time to search for a path before jumping to the location (Default: 30 seconds).

Returns

Task

ActionForceMoveTo(NwObject, bool, float, TimeSpan?)

Instructs this creature to walk/run to the specified target object.

public Task ActionForceMoveTo(NwObject target, bool run = false, float range = 1, TimeSpan? timeOut = null)

Parameters

target NwObject

The target object to move towards.

run bool

If true, the creature will run rather than walk.

range float

The desired distance between the creature and the target object.

timeOut TimeSpan?

The amount of time to search for a path before jumping to the object. (Default: 30 seconds).

Returns

Task