playerRequestedDockingClearance
event with the message "DOCKING_CLEARANCE_CANCELLED" when the time allotted to the player for docking expires, but I'm never getting that event/message combination. I get DOCKING_CLEARANCE_GRANTED when I request a docking slot, and DOCKING_CLEARANCE_EXTENDED when I reach the last 30 seconds and extend my clearance, but I'm not getting the cancelled message. Is someone able to (a) confirm if this is a bug, or (b) show me the right way of checking for that message?playerRequestedDockingClearance event
Moderators: winston, another_commander, Getafix
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
playerRequestedDockingClearance event
Not sure if this is a bug or just a gap in my knowledge, but, based on the documentation, I'm expecting to receive a
Re: playerRequestedDockingClearance event
The event gives you the response to an explicit clearance request - so it should say CANCELLED when you do shift-L before the extension window.
There's not currently an event to detect expiry - I'll add it to the list for 1.84, but in the meantime, you can set a two minute timer when clearance is granted, and assume expiry if there's no other
There's not currently an event to detect expiry - I'll add it to the list for 1.84, but in the meantime, you can set a two minute timer when clearance is granted, and assume expiry if there's no other
playerRequestedDockingClearance
event (or successful docking, hyperspace entry, etc.) before the timer runs out.