wManager.Wow.Helpers Namespace
WRobot

GoToTask..::..ToPositionAndIntecractWithGameObject Method

Go to position and interact with object (closest to the position).

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

Syntax


public static bool ToPositionAndIntecractWithGameObject(
	Vector3 positionObj,
	int objEntry,
	int gossipOptions,
	bool skipIfCannotMakePath,
	BooleanDelegate conditionExit
)
Public Shared Function ToPositionAndIntecractWithGameObject ( _
	positionObj As Vector3, _
	objEntry As Integer, _
	gossipOptions As Integer, _
	skipIfCannotMakePath As Boolean, _
	conditionExit As BooleanDelegate _
) As Boolean
public:
static bool^ ToPositionAndIntecractWithGameObject(
	Vector3^ positionObj, 
	int^ objEntry, 
	int^ gossipOptions, 
	bool^ skipIfCannotMakePath, 
	BooleanDelegate^ conditionExit
)

Parameters

positionObj
Type: robotManager.Helpful..::..Vector3
Destination position.
objEntry
Type: Int32
The Entry.
gossipOptions
Type: Int32
Selects a gossip (conversation) option (in game). (-1 to don't use this option).
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.