phkb wrote:cim wrote:destinationSystem
(and its counterpart
homeSystem
) only really make sense for NPCs who aren't going to change their mind on this.
phkb wrote:If player.ship.targetSystem now points to an out of range system, what property returns the next jump?
No property at the moment, but as mentioned recently, in 1.81 there's a second parameter given to
shipWillEnterWitchspace
specifying where the jump is going. I'll add a property for it as well.
Did a new property end up being created for the next destination? Sorry if I missed the notification for this.
I decided to do this slightly differently in the end:
- if you want to know where they're actually going, you must check the parameter to
shipWillEnterWitchspace
, as they could run into a wormhole a frame before their jump countdown completes
- if you want to know where they're planning to go, you have their target system and I was going to add a property that showed route mode, so you could calculate the entire route they had planned yourself, rather than just knowing the next step.
Now you mention it, I can't actually find that route mode property, though. I thought I'd added it already, but I can't find it anywhere. I'll check and get back to you on that.