Jump to content

Declaration Code


Donkomon

Recommended Posts

thanks, but this is a very uncomfortable way.

better to use

<Script>
public class Declaration
{
  public static uint Zone;
}
</Script>

Is it possible to implement custom "wManager.Wow.Class.QuestAction" in a bot?

like

<QuestsSorted Action="InteractWith" MobId="123" />
<QuestsSorted Action="MoveTo" X="111" Y="111" Z="111" />

 

Link to comment
Share on other sites

Use step RunCode with code like:

To interact: 

GoToTask.ToPositionAndIntecractWithNpc(new Vector3(-8835.76, 490.084, 109.6157), 123);
// OR
GoToTask.ToPositionAndIntecractWithGameObject(new Vector3(-8835.76, 490.084, 109.6157), 123);

//if you want interact with NPC/GameObject near of your character:
GoToTask.ToPositionAndIntecractWithNpc(ObjectManager.Me.Position, 123);
GoToTask.ToPositionAndIntecractWithGameObject(ObjectManager.Me.Position, 123);

To go to position:

GoToTask.ToPosition(new Vector3(-8835.76, 490.084, 109.6157));

 

 

If you want to be sure that step are completed (this work on interact and goto):

Use step type While with the code:

!GoToTask.ToPosition(new Vector3(-8835.76, 490.084, 109.6157))

Add after step type EndWhile

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...