Gardettos
New Member
- Joined
- Jun 11, 2012
- Messages
- 522
- Reaction score
- 6
So I have been working at adding random 2 level dungeons to my profile. The main one I was working on was the Ancient Cave in the Oasis. I just want the bot to go in find the 2nd level, then find the exit that TP's it to the entrance of the cave. Nothing to crazy. It spawns in 5 or 6 difference locations. The problem is that the cave spawns in a certain spot but it will never be exactly the same spot. Example
Position: <2833.279, 4391.932, 88.00258>
Position: <2832.947, 4391.643, 87.55032>
They are in nearly the exact same spot but how am I supposed to do
For every slight variation? Any way I can use a range for ActorExistsAt(176003, 2830-2835, 4390-4395, 85-90)
I assume all random placed dungeons will be like this. In similar spots but slightly different.
Position: <2833.279, 4391.932, 88.00258>
Position: <2832.947, 4391.643, 87.55032>
They are in nearly the exact same spot but how am I supposed to do
Code:
<If condition="ActorExistsAt(176003, 2832.947, 4391.643, 87.55032, 15)">
<MoveTo questId="1" x="2861.823" y="4367.467" z="100.1989" pathPrecision="15" unsafeRandomDistance="5"/>
<UseObject questId="1" stepId="1" actorId="176003" isPortal="True" destinationWorldId="62568" x="2861.823" y="4367.467" z="100.1989" />
For every slight variation? Any way I can use a range for ActorExistsAt(176003, 2830-2835, 4390-4395, 85-90)
I assume all random placed dungeons will be like this. In similar spots but slightly different.






