Jump to content

Recommended Posts

Hi,

can anyone help me explain exactly how I do the following:

1. Talk to a flightmaster and pick up the flight path

2. How I use hearthstone

3. How I set hearthstone to new location (talk to innkeeper)

I have searched the forum but I need an explanation how I do it exactly. (If code is needed where do I put the code and so on...) I am not a programmer but I am a fast learner.

Link to comment
https://wrobot.eu/forums/topic/4584-get-flight-path-and-use-hearthstone/
Share on other sites

1.

<QuestsSorted Action="While" NameClass="ObjectManager.Me.Position.DistanceTo2D(new Vector3(-1831.95f, 5298.3f, -12.42793f)) < 300" />
<QuestsSorted Action="RunCode" NameClass="var position = new Vector3(-1831.95f, 5298.3f, -12.42793f);
int npcEntryId = 18940;

if (!ObjectManager.Me.IsOnTaxi)
{
    if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(position, npcEntryId))
    {
        Usefuls.SelectGossipOption(GossipOptionsType.taxi);
        Lua.RunMacroText("/click TaxiButton1");
    }
}" />
<QuestsSorted Action="EndWhile" NameClass="" />

Vector3 - Flight master
npcEntryId - FLight master Id
'TaxiButton1' - name of the location button

 

2.

<QuestsSorted Action="RunLuaCode" NameClass="local itemName, _, _, _, _, _, _, _ = GetItemInfo(6948);&#xD;&#xA; RunMacroText(&quot;/use &quot; .. itemName);" />
<QuestsSorted Action="Wait" NameClass="15000" />

3.

<QuestsSorted Action="RunCode" NameClass="wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new Vector3(599.04f, -4928.18f, 17.88458f), 23731, 2, false)" />
<QuestsSorted Action="RunMacroLua" NameClass="/click StaticPopup1Button1" />

Vector3 - Inkeeper location
23731 - Inkeeper Id
2 - set home option number 

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...