GUI_SCREEN_SHIPYARD and mission.addMessageText

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

GUI_SCREEN_SHIPYARD and mission.addMessageText

Post by Capt. Murphy »

Hi,

Current trunk.

mission.addMessageText has odd results if used on GUI_SCREEN_SHIPYARD.

On first access to the screen the message is added at the very first line. On 2nd access it is added in the middle of the list of ships for sale, is selectable and the game engine acts as if you are selecting one of the ships for sale. On 3rd access it can be added in the message area at the bottom of the screen, where it is overwritten as you scroll through the ships for sale.
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
Post Reply