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

How to use "UseItem" in Profiles

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.
 
same just made a profile using this and works very well tyvm for the info have some rep
 
Back
Top