This may be a stupid question but is there a spacecraft iterator in Lua/celX?
eg. Take this:
Code: Select all
for dso in celestia:dsos() do
for i,v in ipairs(LG_big_galaxies) do
if dso:name() == v then
dso:mark( "green", "disk",10, 1, v )
end
end
I want to do something like:
Code: Select all
for spacecraft in celestia:spacecrafts() do
for i,v in ipairs(my_list_of_spacecraft) do
if spacecraft:name() == v then
spacecraft:mark( "green", "disk",10, 1, v )
end
end
Get my drift??
Thanks in advance...
CC