Method ActionForceMoveTo
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
targetLocationThe location to move towards.
runboolIf true, the creature will run rather than walk.
timeOutTimeSpan?The amount of time to search for a path before jumping to the location (Default: 30 seconds).
Returns
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
targetNwObjectThe target object to move towards.
runboolIf true, the creature will run rather than walk.
rangefloatThe desired distance between the creature and the target object.
timeOutTimeSpan?The amount of time to search for a path before jumping to the object. (Default: 30 seconds).