GoToTask..::..ToPositionAndIntecractWith Method (WoWUnit, Int32, Boolean, BooleanDelegate, Boolean)
Go to position and interact with npc (closest to the position).
Namespace:
wManager.Wow.Bot.TasksAssembly: wManager (in wManager.dll)
Syntax
public static bool ToPositionAndIntecractWith( WoWUnit unit, int gossipOptions, bool skipIfCannotMakePath, BooleanDelegate conditionExit, bool acceptNpcDead )
Parameters
- unit
- Type: wManager.Wow.ObjectManager..::..WoWUnit
The unit.
- 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);.
- acceptNpcDead
- Type: Boolean
if set to true bot can interact with dead NPC.