silentfu72
Member
- Joined
- Jun 15, 2014
- Messages
- 95
- Reaction score
- 1
I found that by using the "While" Statement instead of the "If" statement when using "UseItem" the bot will continue on instead of getting stuck while using items. Here is an example:
<While Condition="((HasQuest(0xE00021D6563620D1)) and (not IsTaskComplete(0xE00021D6563620D1, 2, 0)))">
<UseItem QuestId="0xE00021D6563620D1" Item="Field Scanner" WaitTime="13500" Range="4" InCombat="False" Radius="200" X="-26.81024" Y="44.12791" Z="-182.0778" />
</While>
As you can see, I have While at the start of the Condition instead of IF. This has corrected most of the UseItem issues I have encountered so far. Hope this helps someone.
<While Condition="((HasQuest(0xE00021D6563620D1)) and (not IsTaskComplete(0xE00021D6563620D1, 2, 0)))">
<UseItem QuestId="0xE00021D6563620D1" Item="Field Scanner" WaitTime="13500" Range="4" InCombat="False" Radius="200" X="-26.81024" Y="44.12791" Z="-182.0778" />
</While>
As you can see, I have While at the start of the Condition instead of IF. This has corrected most of the UseItem issues I have encountered so far. Hope this helps someone.