Celestia/Celx Scripting/CELX Lua Methods/CEL command wait

wait
wait { duration  } 

Pauses execution of the script for the specified  in seconds.

CELX equivalent:

Based on the wait function.


 * The function wait(  ) is predefined in Celestia to wait  seconds. It is special because it returns control to Celestia, which you have to do to avoid blocking Celestia.

wait(  )

Example: The following example pauses script execution for 15 ¼ seconds.

CEL:

wait { duration 15.25 }

CELX with the wait function:

wait(15.25)

Back to CEL command index