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

Problem with <if></if>

ezpwnd

New Member
Joined
Jul 18, 2012
Messages
950
Reaction score
1
Hi.

My toon moves to sarkoth cellar and enters if it exists. It will then move to sarkoth, kill him and navigate to the dank cellar's exit and leave the cellar. When being outside it will just instantly re-enter the cellar (probably because the if condition is still true so it will enter again and fuck up).

How to work around this and get the script to actually move on after cellar was entered and completed? Maybe something wrong with my "code"?

Code:
			<If condition="ActorExistsAt(176007, 2059.629, 2478.667, 27.02374, 15)">
				<UseObject questId="87700" stepId="27" x="2058.653" y="2476.354" z="26.32902" actorId="176007" isPortal="True" destinationWorldId="106746" />
				<MoveTo questId="1" x="123.0608" y="156.1063" z="0.1" pathPrecision="5" />
				<MoveTo questId="1" x="119.5435" y="112.705" z="0.1000009" pathPrecision="5" />
				<MoveTo questId="1" x="116.5801" y="96.5274" z="0.1000006" pathPrecision="5" />
				<MoveTo questId="1" x="120.7841" y="147.0664" z="0.1000006" pathPrecision="5" />
				<MoveTo questId="1" x="75.23769" y="160.2281" z="0.7165066" pathPrecision="5" />
				<MoveTo questId="1" x="68.74529" y="161.7813" z="5.177826" pathPrecision="5" />
				<UseObject questId="87700" stepId="27" x="68,74529" y="161,7813" z="5,177826" actorId="175467" destinationWorldId="71150"/>
			</If>
 
Use Zeta.ZetaDia.CurrentWorldId



edit; beat me by a minute :>
 
Back
Top