Using the "direct" tag, you can obviously point things in certain directions, and with the throttle setting, you can make them get there faster or slower. (And with the topSpeed property, you can even get allied or enemy ships to have "warp" drive for a while.)
But I can't seem to get that to work on the player's ship. I can set its throttle, but giving it a "direct" command does not affect the heading. I am trying to make the player's ship orbit a planet once they get close to a bouy. Right now, I'm not concerned with whether or not the HELM officer can break orbit at any time, just as long as the ship will make the orbit if left alone. Here is my code:
<if__variable name="orbitPhase1" comparator="!=" value="1"/>
<if_inside_sphere name="USS Gibraltar" centerX="21300" centerY="0" centerZ="52700" radius ="500"/>
<log text="entering orbit\n"/>
<direct name="USS Gibraltar" pointX="20300" pointZ="53700"/>
<log text="adjusting heading\n"/>
<set_object_property name="USS Gibraltar" property="throttle" value="0.5" />
<log text="adusting speed\n"/>
<set_variable name="enteredOrbit" value="1"/>
<set_variable name="orbitPhase1" value="1"/>
And the ship does in fact throttle down, and the log says that the heading was adjusted, but it wasn't. Now, the only thing that I do notice is that the ship DOES seem to drift after this event is triggered, even when I force the throttle to 0. I can't tell if its drifting to the coordinates I gave it or not, but it's definitely drifting.
Has anyone else tried anything like this with more success?