Windows ver 1.3.1 pre9.
If Celestia is not currently running, and you run the following script, it does not work. It flys right past the moon out to 207 au:
Code: Select all
{
select { object "Sol/Earth/Moon" }
goto { distance 7 time 3 }
wait { duration 3 }
chase { }
}
This code works (note the wait command after the select command):
Code: Select all
{
select { object "Sol/Earth/Moon" }
wait {}
goto { distance 7 time 3 }
wait { duration 3 }
chase { }
}
This code works (note the longer wait command after the goto):
Code: Select all
{
select { object "Sol/Earth/Moon" }
goto { distance 7 time 3 }
wait { duration 4 }
chase { }
}
This code works (note the moved chase command):
Code: Select all
{
select { object "Sol/Earth/Moon" }
chase {}
goto { distance 7 time 3 }
wait { duration 3 }
}
Why doesn't the first code example work as expected?