Alllright so here is the fun. (this thread wont post the script for some reason pls view in other thread to see what has hasnt been tried : here http://www.thebuddyforum.com/honorb...itme-inventory-particular-npc.html#post214111
Info: this quest Flamebreaker - Quest - World of Warcraft and I am trying to get it to target A Npc (Blazebound Elemental 38896) and use item on it ( Flameseer's Staff 53107 )
So far ive tried.....
<useitem itemid="53107" questid="25323" targetid="38896" targettype="Npc" x="5237.96" y="-2799.46" z="1534.045"></useitem>
<useitem itemid="53107" questid="25323" targetid="38896" targettype="Npc" x="5237.96" y="-2799.46" z="1534.045"></useitem> He just ignored attempting to use the item and just initiates combat and kills it
This exact same format worked for the quest Inciting the Elements where you have to target friendly npcs and they spawn another npc for you to fight.
///
<if condition="(HasQuest(25323)) && (HasItem(53107))"></if>
<useitem itemid="53107" questid="25323" targetid="38896" targettype="Npc" x="5237.96" y="-2799.46" z="1534.045"></useitem> He just ignored attempting to use the item and just initiates combat and kills it
This exact same format worked for the quest Inciting the Elements where you have to target friendly npcs and they spawn another npc for you to fight.
///
<if condition="(HasQuest(25323)) && (HasItem(53107))">
<custombehavior file="UseItemOn" questid="25323" itemid="53107" mobid="38896" numoftimes="30" objecttype="Npc" x="5237.959" y="-2799.46" z="1534.044">
</custombehavior> </if>^^^^ Gives Compile error
<custombehavior file="UseItemOn" questid="25323" itemid="53107" mobid="38896" numoftimes="30" objecttype="Npc" x="5237.959" y="-2799.46" z="1534.044"></custombehavior>
^^^^ Gives Compile error
Also used the "CombatUseItem" ^^^^Gives Compile error
Would like to attempt a runmacro.cs using something like this
<custombehavior file="RunMacro">
Macro="/target Blazebound Elemental\n/use Flameseer's staff"
NumOfTimes="1"
WaitTime="1000" /></custombehavior> And I did follow the wiki to get it html encoded and ^ looks like this :
<CustomBehavior File="RunMacro"
Macro="/target Blazebound Elemental\n/use Flameseer's staff"
NumOfTimes="1"
WaitTime="1000" /> This Gives no error but does nothing in HB but stop the bot (a good sign I guess
)
Atm too I also tried to even just use the runmacro to even /target Blazebound Elemental.. Wont even do that.
<custombehavior file="RunMacro">
Macro="/target Blazebound Elemental"
NumOfTimes="1"
WaitTime="1000" /></custombehavior>
Update, Also just tried: (ty Killakaz!)
<custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10"><custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10">
<custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000"><custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10">
<custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000">
<custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000"></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior><custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10"><custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000">
^^^^Gives Compile error
Wow... So what next?</custombehavior></custombehavior>
Info: this quest Flamebreaker - Quest - World of Warcraft and I am trying to get it to target A Npc (Blazebound Elemental 38896) and use item on it ( Flameseer's Staff 53107 )
So far ive tried.....
<useitem itemid="53107" questid="25323" targetid="38896" targettype="Npc" x="5237.96" y="-2799.46" z="1534.045"></useitem>
<useitem itemid="53107" questid="25323" targetid="38896" targettype="Npc" x="5237.96" y="-2799.46" z="1534.045"></useitem> He just ignored attempting to use the item and just initiates combat and kills it

///
<if condition="(HasQuest(25323)) && (HasItem(53107))"></if>
<useitem itemid="53107" questid="25323" targetid="38896" targettype="Npc" x="5237.96" y="-2799.46" z="1534.045"></useitem> He just ignored attempting to use the item and just initiates combat and kills it

///
<if condition="(HasQuest(25323)) && (HasItem(53107))">
<custombehavior file="UseItemOn" questid="25323" itemid="53107" mobid="38896" numoftimes="30" objecttype="Npc" x="5237.959" y="-2799.46" z="1534.044">
</custombehavior> </if>^^^^ Gives Compile error
<custombehavior file="UseItemOn" questid="25323" itemid="53107" mobid="38896" numoftimes="30" objecttype="Npc" x="5237.959" y="-2799.46" z="1534.044"></custombehavior>
^^^^ Gives Compile error
Also used the "CombatUseItem" ^^^^Gives Compile error
Would like to attempt a runmacro.cs using something like this
<custombehavior file="RunMacro">
Macro="/target Blazebound Elemental\n/use Flameseer's staff"
NumOfTimes="1"
WaitTime="1000" /></custombehavior> And I did follow the wiki to get it html encoded and ^ looks like this :
<CustomBehavior File="RunMacro"
Macro="/target Blazebound Elemental\n/use Flameseer's staff"
NumOfTimes="1"
WaitTime="1000" /> This Gives no error but does nothing in HB but stop the bot (a good sign I guess

Atm too I also tried to even just use the runmacro to even /target Blazebound Elemental.. Wont even do that.
<custombehavior file="RunMacro">
Macro="/target Blazebound Elemental"
NumOfTimes="1"
WaitTime="1000" /></custombehavior>
Update, Also just tried: (ty Killakaz!)
<custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10"><custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10">
<custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000"><custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10">
<custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000">
<custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000"></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior><custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10"><custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000">
^^^^Gives Compile error

Wow... So what next?</custombehavior></custombehavior>
Last edited: