Running multilpe scripts at the same time

All about writing scripts for Celestia in Lua and the .cel system
Topic author
Starshipwright
Posts: 78
Joined: 08.08.2006
With us: 18 years 3 months

Running multilpe scripts at the same time

Post #1by Starshipwright » 02.10.2006, 08:33

Is there any way to run multiple .CELX scripts at the same time?

Are there any plans to make this possible in the future?

hank
Developer
Posts: 645
Joined: 03.02.2002
With us: 22 years 9 months
Location: Seattle, WA USA

Re: Running multilpe scripts at the same time

Post #2by hank » 03.10.2006, 06:08

Starshipwright wrote:Is there any way to run multiple .CELX scripts at the same time?

Are there any plans to make this possible in the future?


There is probably a way to do this, but you'd have to create a single script that loads and runs the multiple scripts in separate threads.

What is it you want to do exactly?

- Hank

Topic author
Starshipwright
Posts: 78
Joined: 08.08.2006
With us: 18 years 3 months

Post #3by Starshipwright » 03.10.2006, 16:58

My main thought was to use Toti's "Object Selection History Tracker" and Harlad Schmit's "Timestep Keys" together with other scripts. And while stopping and starting the Timestep Keys script is not a problem, stopping the History Tracker script loses all the information that the script uses.

I would really like to be able to use them as a regular part of my Celestia installation. I noticed some mention of a LUA hook that might allow that, but do not know enough to have been able to follow the discussions about that feature.

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Post #4by fsgregs » 02.11.2006, 00:04

Hank:

I too would be very interested in running multiple celx scripts at the same time ... possibly reacting to different keystrokes.

If this is possible, please elaborate ... as your time permits.

Frank


Return to “Scripting”