Table of Contents

Method ActionMoveTo

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ActionMoveTo(Location, bool)

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

public Task ActionMoveTo(Location target, bool run = false)

Parameters

target Location

The location to move towards.

run bool

If true, the creature will run rather than walk.

Returns

Task

ActionMoveTo(NwObject, bool, float)

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

public Task ActionMoveTo(NwObject target, bool run = false, float range = 1)

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.

Returns

Task