Welcome, Guest

Author Topic: XML Question  (Read 4634 times)

witold

  • *****
  • Posts: 130
  • Sorry for my bad english (if he is)
XML Question
« on: August 18, 2009, 01:17:13 PM »
How to put "orbit all" command/script into XML file???

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: XML Question
« Reply #1 on: August 18, 2009, 01:22:50 PM »
I don't think I've added support for that command in XML.

You can add an individual action for each body that would duplicate the result:
Code: [Select]
<Action>orbit=parent</Action>
When Universe Sandbox loads it automatically figures out the parent-child relationships (which is what Orbit All does) and then sets the orbits for each body with that action command.