Difference between revisions of "Ai-undock"

From FreeSpace Wiki
Jump to: navigation, search
(Created page with ' ai-undock Ai-undock (Ship goal) Causes the specified ship to undock from who it is currently docked with. Takes 1 or 2 arguments... 1: Goal priority (numbe…')
(No difference)

Revision as of 20:52, 15 April 2010

ai-undock
    Ai-undock (Ship goal)
    Causes the specified ship to undock from who it is currently docked with.

    Takes 1 or 2 arguments...
    1: Goal priority (number between 0 and 89).
    2 (optional): Ship to undock from. If none is specified, the code will pick the first docked ship.

Notes

  • To cancel a dock order for a ship that hasn't docked, use either remove-goal or clear-goals.
  • Remember that undocking takes time.