Current Command like

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

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

holo_doctor
Posts: 860
Joined: Fri, 26. Mar 04, 12:20
x3tc

Current Command like

Post by holo_doctor »

I want to know how to put the destination and ware my TS is searching for in the current coman line in the command console probable something really simple ive overlooks but i cant seam to find the lines that do it.
i7-930 2.8Ghz quad core
6gig DDR3-1600 3 channel Ram
Nvida GTX470
64gig SSD / 1TB Hitachi
holo_doctor
Posts: 860
Joined: Fri, 26. Mar 04, 12:20
x3tc

Post by holo_doctor »

think il expain it little clearer

Eg

BY bet wares... then its give u energycells in the command line
or dockat... then it give u wher its going i want to know how to do that with my script

there must be a way?
i7-930 2.8Ghz quad core
6gig DDR3-1600 3 channel Ram
Nvida GTX470
64gig SSD / 1TB Hitachi
User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Post by moggy2 »

If you want it to read best buy...Energy cells then you add the lines

Code: Select all

[THIS]->set command GET_WARES_BEST: target=Energy Cells ....
The default commands have the ability to have different targets specified with [THIS]->set command <command object>. I have yet to work out how, if it's possible, to set it for custom commands though. It's been driving me nuts for the last couple of days.

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