[Solved] "find station" command works strange with parameter "trader"

The place to discuss scripting and game modifications for X³: Reunion.

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

Post Reply
Gqqnbig
Posts: 66
Joined: Fri, 12. Jul 13, 14:08

[Solved] "find station" command works strange with parameter "trader"

Post by Gqqnbig » Sat, 17. Aug 13, 16:42

Code: Select all

[skip|else] if [not]|while [not]|<RetVar/IF> find station: product <Var/Ware> with best price: max.price = <Var/Number>, amount = <Var/Number>, max.jumps = <Var/Number>, startsector = <Var/Sector>, trader = <Var/String>, exclude array = <Value> 
MSCI Reference says trader is The trader involved (further investigation required for this variable).

I have a TS in Paranid sector, where there is a factory selling Beta Phased Shockwave Generator.

Code: Select all

find station: product= Beta Phased Shockwave Generator
 with best price: max.price =999999999 , amount = 1, max.jumps = 0, startsector = [sector], trader = null, exclude array = null 
When trader parameter is set to null, it can find the desired factory. When trader is set to [this], null is returned.

I also run is "is docking possible/allowed" command and both return true.

Through the control menu, I ask my trader to dock the station and it succeeded.

Since my ship can actually dock at the station, why does the find station command return null?[/b]
Last edited by Gqqnbig on Sun, 18. Aug 13, 02:32, edited 1 time in total.

Gqqnbig
Posts: 66
Joined: Fri, 12. Jul 13, 14:08

Post by Gqqnbig » Sun, 18. Aug 13, 02:31

I realized the problem! Because my notability is too low, trade crystal(?) is in effect.

Post Reply

Return to “X³: Reunion - Scripts and Modding”