wManager.Wow.Helpers Namespace
WRobot

GoToTask..::..ToPosition Method

Go to position.

Namespace:  wManager.Wow.Bot.Tasks
Assembly:  wManager (in wManager.dll)

Syntax


public static bool ToPosition(
	Vector3 position,
	float precision,
	bool skipIfCannotMakePath,
	BooleanDelegate conditionExit
)
Public Shared Function ToPosition ( _
	position As Vector3, _
	precision As Single, _
	skipIfCannotMakePath As Boolean, _
	conditionExit As BooleanDelegate _
) As Boolean
public:
static bool^ ToPosition(
	Vector3^ position, 
	float^ precision, 
	bool^ skipIfCannotMakePath, 
	BooleanDelegate^ conditionExit
)

Parameters

position
Type: robotManager.Helpful..::..Vector3
Destination position.
precision
Type: Single
Precision (of destination position, you can't use less than 3.5).
skipIfCannotMakePath
Type: Boolean
if set to true skip if PathFinder cannot make path (the method return false).
conditionExit
Type: wManager.Wow.Class..::..BooleanDelegate
Exit condition, default code is: context => (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !Conditions.IsAttackedAndCannotIgnore).

Return Value

true if success, false otherwise.