docking abort by script?
Moderators: winston, another_commander
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
docking abort by script?
Is there a way to make a station abort all docking procedures by script? Or at least a workaround? What if I would send a DOCKING_COMPLETE or DOCKING_ABORTED to the station's AI?
Re: docking abort by script?
Launch a ship using station.launchShipWithRole and abortAllDockings true. Then immediately delete it.Commander McLane wrote:Is there a way to make a station abort all docking procedures by script? Or at least a workaround? What if I would send a DOCKING_COMPLETE or DOCKING_ABORTED to the station's AI?
Alternatively, scan around for ships with dockingAI.plist as their current AI, and send their AIs a DOCKING_ABORTED message.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: docking abort by script?
Thanks! I had completely forgotten about the optional parameter. I guess because I haven't used it before.