Stopping time

All about writing scripts for Celestia in Lua and the .cel system
Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Stopping time

Post #1by rthorvald » 05.05.2007, 13:39

I have searched through Haralds celx guide, and also searched here, but i can??t seem to find out how...

I want to have time stopped during the execution of the script. How to do that?

I may be ignorant, but CELX is entirely new territory to me. I??m sure many other newbie questions will show up here, too...

- rthorvald :roll:
Image

JrzyCrim
Posts: 30
Joined: 04.07.2003
With us: 21 years 4 months

Post #2by JrzyCrim » 05.05.2007, 20:36


Topic author
rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #3by rthorvald » 06.05.2007, 22:06

JrzyCrim wrote:http://celestia.h-schmidt.net/celx-summary-latest.html#celestia_settimescale

Code: Select all

celestia:settimescale(0)


Oh, thanks! Wonder how i managed to skip it...

- rthorvald
Image

JrzyCrim
Posts: 30
Joined: 04.07.2003
With us: 21 years 4 months

Post #4by JrzyCrim » 06.05.2007, 22:46

You're welcome.

Actually, I didn't find it there at first. I discovered it in another script I downloaded after a failed web search. I'm just learning myself. :)


Return to “Scripting”