Best way to test for passing through a StarGate?

gair

Active Member
What's the best way to test to see if you truely have "finished" the transition through a StarGate? Anything in ISXEVE that could be used to test this? It's pretty easy to know your about to go through :)Jump), I just need a better way to continue the script instead of doing a "wait 5" or some other timed event.

Thanks.
 

Reformed2hacker

Active Member
if you are setting a destination and want to continue after you have reached your dest, you can do something like

Code:
		do
		{
                      wait stuff here
		}
		while ${_Me.AutoPilotOn}
other than that, your just gonna have to compare your current solarsystem ID to either your last known solarsystem ID to see when you have passed through.

with a do/while like

Code:
		do
		{
                      wait stuff here
		}
		while${DestinationSystemID} != ${Me.SolarSystemID}
of course adapted to your needs.

Disclaimer: for a better answer, come to the IRC channel.
 

GliderPro

Active Member
The methods used by EveBot for this aren't very reliable in the presence of lag. I've been trying to come up with a better way but I haven't yet. Just take a look at Ship.WarpToBookmark to see how Evebot does it.
 
Top Bottom