Hi all,
I have a problem writing my profile.
My bot is supposed to enter a portal from a resume game.
The pb is that if the bot get stuck in the next area of the profile trinity restart the game (which is good)
the portal location change and the bot get stuck for the infinite as the currentworldid is not good anymore
I did not any way to make the bot TP back to town if the currentlevelarea is not good (the bot try to find the portal location in base coordinates over and over)
Here is the coding pb: the bot should arrive in WorldId 123183 and levelarea 123182 after using the portal
I try to add an if condition if the area is 57425 instead of the 123182 expected but it looks like the bot never ever leave the first "if condition" and try to find the portal over and over which it cannot as the coordinates cant be reached ....
<If condition="ActorExistsAt(191492, 309.3586, 274.4218, 0.1000001, 40)">
<UseObject questId="121792" stepId="-1" actorId="191492" x="309.3586" y="274.4218" z="0.1000001" isPortal="True" destinationWorldId="123183" />
<WaitTimer questId="121792" stepId="-1" waitTime="1000" />
</If>
<If condition="CurrentLevelAreaId == 57425" >
<MoveTo questId="121792" stepId="-1" x="3017.046" y="4612.956" z="100.1988" pathPrecision="5" />
<UseTownPortal questId="121792" stepId="-1"/>
</If>
I didnt find any way to make it use the portal only if the right destination would be reached (this dumb ass use it as long as it is available)
I really need trinity game restater and this portal from resume game
Any idea?
Thx
I have a problem writing my profile.
My bot is supposed to enter a portal from a resume game.
The pb is that if the bot get stuck in the next area of the profile trinity restart the game (which is good)
the portal location change and the bot get stuck for the infinite as the currentworldid is not good anymore
I did not any way to make the bot TP back to town if the currentlevelarea is not good (the bot try to find the portal location in base coordinates over and over)
Here is the coding pb: the bot should arrive in WorldId 123183 and levelarea 123182 after using the portal
I try to add an if condition if the area is 57425 instead of the 123182 expected but it looks like the bot never ever leave the first "if condition" and try to find the portal over and over which it cannot as the coordinates cant be reached ....
<If condition="ActorExistsAt(191492, 309.3586, 274.4218, 0.1000001, 40)">
<UseObject questId="121792" stepId="-1" actorId="191492" x="309.3586" y="274.4218" z="0.1000001" isPortal="True" destinationWorldId="123183" />
<WaitTimer questId="121792" stepId="-1" waitTime="1000" />
</If>
<If condition="CurrentLevelAreaId == 57425" >
<MoveTo questId="121792" stepId="-1" x="3017.046" y="4612.956" z="100.1988" pathPrecision="5" />
<UseTownPortal questId="121792" stepId="-1"/>
</If>
I didnt find any way to make it use the portal only if the right destination would be reached (this dumb ass use it as long as it is available)
I really need trinity game restater and this portal from resume game
Any idea?
Thx






