What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

how to handle a continue button in a quest frame

protopally

Member
Joined
Jan 15, 2010
Messages
391
Reaction score
8
i have written a plugin to do multiple rogues deck trunins it just spams macros atm but want it to me more efficent and whant it tho use all HB cant figure out how to do the handin properly with the questframe functions

any ideas?
 
use this:

PHP:
			<If Condition="((HasQuest(10855)) &amp;&amp; (!IsQuestCompleted(10855)))" >
				<Objective QuestName="Fel Reavers, No Thanks!" QuestId="10855" Type="CollectItem" ItemId="31653" CollectCount="5" />
				<CustomBehavior File="InteractWith" QuestId="10855" ObjectType="NPC" MobId="22293" NumOfTimes="1" CollectionDistance="100" X="4501.383" Y="3367.621" Z="156.7108" />
				<CustomBehavior File="CompleteLogQuest" QuestID="10855" />
			</If>

it interacted with a mob with a blue ? (repeatable turnin), then continue and turned in (to destroy the fel reaver :D )
 
hi guys not for the new popups an old style quest but has a continue button before quest reward selection screen then complete screen.
 
This has worked for just about every quest for me, YMMV.

PHP:
        private void CompleteQuest()
        {
            if (QuestFrame.Instance.IsVisible)
            {

                Logging.WriteDebug("Quest Frame Visisble " + QuestFrame.Instance.CurrentShownQuest.Name);
                Lua.DoString("SelectGossipAvailableQuest(0)");
                Lua.DoString("CompleteQuest()");
                Lua.DoString("GetQuestReward(1)");

                Lua.DoString("GetQuestReward(nil)");

                Lua.DoString("SelectGossipOption(0)");
                Lua.DoString("AcceptQuest()");
            }
        }
 
Back
Top