2 scripts run on the same object?

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

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

User avatar
Kailric
Posts: 985
Joined: Sun, 7. Dec 03, 05:15
x3

2 scripts run on the same object?

Post by Kailric »

Just wondering if you have a script that is running on a station and its not a loop meaning that it will end soon away. But another script is called at the same time or close to on the same station...what will happen. Will the scripts stack... the one waiting for the other to finish? Or will the last one cancel the first? Or will your PC explode? Or what exactly?
"Try not. Do or do not, there is no try."-Yoda

"[Its] time for the human race to enter the solar system"-Dan Quayle
User avatar
M.Kessel
Posts: 1460
Joined: Wed, 13. Nov 02, 11:49
xr

Re: 2 scripts run on the same object?

Post by M.Kessel »

Kailric wrote:Just wondering if you have a script that is running on a station and its not a loop meaning that it will end soon away. But another script is called at the same time or close to on the same station...what will happen. Will the scripts stack... the one waiting for the other to finish? Or will the last one cancel the first? Or will your PC explode? Or what exactly?
Parallel scripts are possible in 1.4.

You got one normal slot in ships, and two additional.

In factories you got TEN slots.
User avatar
Kailric
Posts: 985
Joined: Sun, 7. Dec 03, 05:15
x3

Re: 2 scripts run on the same object?

Post by Kailric »

mkess wrote:
Kailric wrote:Just wondering if you have a script that is running on a station and its not a loop meaning that it will end soon away. But another script is called at the same time or close to on the same station...what will happen. Will the scripts stack... the one waiting for the other to finish? Or will the last one cancel the first? Or will your PC explode? Or what exactly?
Parallel scripts are possible in 1.4.

You got one normal slot in ships, and two additional.

In factories you got TEN slots.
i SO desire 1.4...you don't even know. Are some of you getting to try it out already...must be so nice. :)
"Try not. Do or do not, there is no try."-Yoda

"[Its] time for the human race to enter the solar system"-Dan Quayle

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