wrong ships executing commands

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

wrong ships executing commands

Post by moggy2 »

anyone else noticed the wrong ship executing a command you've just given to another.

I've noticed it twice. Once a while back I gave a command to one ship to leave a convoy and sell it's wares, that worked but when I ordered a second ship to do the same both ships returned to the convoy.

Now I figured that was just something screwy I'd done to the convoy scripts, I don't recall fixing it but I haven't seen it happen again. Until today. I've ordered a Dolphin in Three worlds to follow my ship in Ringo's Moon 3 times now. Twice I've checked it's progress only to find it's gone and landed at a station in Three worlds. That was just a plain egosoft script, and the ship was new, never been in a convoy, never run one of my scripts.

Anyone else seen anything like this before?
User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Post by moggy2 »

:oops:
Isn't it amazing how writing a problem down makes the situation so much clearer :roll:
AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB »

wow weird, are you using any global variables, like for instance $station=SSP[KE]?
User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Post by moggy2 »

nope, I'm writing scripts to order formation ships to do other things

:oops: they now ignore ships in other sectors :oops: :lol:

Return to “X²: The Threat - Scripts and Modding”