Space Engineers

Space Engineers

GPS Ingame Scripting API - Example (old)
3 条留言
woostyboy 2018 年 1 月 31 日 下午 12:50 
Mind....blown... Sadly I don't understand scripting :( but thanks anyway.
Ikarus_Sol_314  [作者] 2018 年 1 月 31 日 上午 11:40 
Unfortunately not. The script adds a gps marker at the pb's postition and removes it 100 ticks (~1 second) later to add a new one. That means very 100 ticks we get a new gps marker. If you add the gps marker to the remote control's waypoints it will fly your ship to your old carrier position (where it was when the gps marker was added).

You should use the IMyRemoteControl.AddWaypoint(Vector3D coords,string name) method (combined with a camera to detect it) to follow your carrier and successfully land on it.
woostyboy 2018 年 1 月 31 日 上午 10:55 
Is this the answer to my dreams!? Can I put this in a block on a moving carrier and auto land a fighter on it?