@ [RetVar/IF][RefObj] fly to homebase

Previous: Fly Commands - Additional Information Fly Commands Next: @ [RetVar/IF][RefObj] fly to station [Var/Station]
This page is a chapter in the book Fly Commands.
[skip|else] if [not]|while [not]|[RetVar/IF]= [RefObj] fly to home base

Causes the specified ship to undock, fly to the sector where its home base is located, and dock.

This instruction will return FLRET_LANDED on success, FLRET_BREAK if another “fly command” instruction is executed on the ship before it completes, FLRET_INTERRUPTED if the script executing this instruction is interrupted, or FLRET_ERROR on error.
Not having a home base set on the target ship is an error.


Tags for this Page

Posting Permissions

Posting Permissions
  • You may not create new articles
  • You may not edit articles
  • You may not protect articles
  • You may not post comments
  • You may not post attachments
  • You may not edit your comments