Intercepting mission screen messages
Moderators: winston, another_commander
- 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.
Intercepting mission screen messages
Is it possible to intercept messages that appear immediately after you dock? In particular I'm thinking of the messages you see when you've scooped an escape capsule, or the special mission messages (from Constrictor Hunt or Thargoid plans). I'd like to be able to (at least) capture the text from these messages, but if it's possible to go a bit further I'd like to capture them and display them in another way. Is that possible?
Re: Intercepting mission screen messages
You can add extra ones with player.addMessageToArrivalReport() and adjust the look of the arrival report page through the usual backgrounds and overlays, but there's no script ability to read or modify the contents of the arrival reports.
(The core ones for contract completion/failure and escape capsules are determined "just in time", so it wouldn't necessarily be all that useful to be able to read the contents of the report before docking)
It might be possible to add more flexibility in this area but it would be useful to know more about what you need the feature for (PM me if you don't want to discuss it in that much detail on the forum)
(The core ones for contract completion/failure and escape capsules are determined "just in time", so it wouldn't necessarily be all that useful to be able to read the contents of the report before docking)
It might be possible to add more flexibility in this area but it would be useful to know more about what you need the feature for (PM me if you don't want to discuss it in that much detail on the forum)