[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.
Bookmarks