Yasuko
Member
- Joined
- Oct 28, 2010
- Messages
- 314
im currently using the following code to test out the buyitem tag:
When the bot makes it to the vendor it will open dialog just fine and purchase the item, but after it purchases the item one time, it will close out of the entire window.. and retarget the npc and continue till the count is successfull.. I know this is most likely happening because it is within an IF statement since RB log says that its interacting with the vendor and purchasing 5 items.. every time it opens the window..
My question is.. what is the correct way to to use the BuyItem tag in an orderbot profile without it constantly closing the NPC window after it buys one item.. then opens again to buy that same item again till the number count has been reached? Ive found that this takes alot longer to do this way.. lol.
Thank you,
Code:
<If Condition="(ItemCount(2653) <= 5)">
<BuyItem ItemIds="2653" ItemCounts="5" InteractDistance="3.0" NpcId="1001965" XYZ="124.9656, 4, -60.49659" DialogOption="0" />
</If>
When the bot makes it to the vendor it will open dialog just fine and purchase the item, but after it purchases the item one time, it will close out of the entire window.. and retarget the npc and continue till the count is successfull.. I know this is most likely happening because it is within an IF statement since RB log says that its interacting with the vendor and purchasing 5 items.. every time it opens the window..
My question is.. what is the correct way to to use the BuyItem tag in an orderbot profile without it constantly closing the NPC window after it buys one item.. then opens again to buy that same item again till the number count has been reached? Ive found that this takes alot longer to do this way.. lol.
Thank you,