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

Help with If condition going into a loop

slimbag

New Member
Joined
Jun 16, 2012
Messages
4
Reaction score
0
Hi all,

I modified Queen Rince and Repeat [Hell] [Act 1 - Level 50 to 60] to add Sarkoth run if the cellar is open.

It works but my issue is if the cellar is open the bot then goes into a loop with the If condition

my code is following:

<MoveTo questId="1" x="2097.232" y="2507.525" z="27.1" levelArea="1999503360" />

<If condition="ActorExistsAt(176007, 2059.629, 2478.667, 27.02374, 15)">
<UseObject questId="1" x="2058.653" y="2476.354" z="26.32902" actorId="176007" isPortal="True" destinationWorldId="106746" />
<MoveTo questId="1" x="117.8131" y="103.533" z="0.1000004" />
<MoveTo questId="1" x="106.5452" y="161.339" z="0.1000004" levelArea="1999568897" />
<UseObject questId="1" x="73.2085" y="159.5467" z="1.909631" actorId="175467" isPortal="True" destinationWorldId="71150" />

</If>

<MoveTo questId="1" x="1998.83" y="2709.027" z="40.15685" levelArea="1999503360" />

Why doesn't the </If> work and bot doesn't move to next line MoveTo ?

thanks for help
 
Back
Top