At any time during a mission, developers can trigger display of a brief text message in LAC's "SystemMessage" Panel (the three-line, scrolling text instrument at the lower left side of LAC's cockpit panel).
Here is a little block of code that does this:
sprintf(SystemMessageBufferA,"DANGER, WILL ROBINSON!");NewSystemMessageNeedsScrolling=true;
Those two lines of code will cause the message "DANGER, WILL ROBINSON!" to be displayed in the bottom line of the three-line display. Prior lines will be scrolled upward as necessary, and the uppermost of the three lines will be lost.
Mission developers wishing to display messages to the user can use this technique at any appropriate point within their mission logic.
Last edit: bbosen 2023-02-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note that text to be displayed in the SystemMessage Panel as described above must always use upper-case letters like the example "DANGER, WILL ROBINSON!".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At any time during a mission, developers can trigger display of a brief text message in LAC's "SystemMessage" Panel (the three-line, scrolling text instrument at the lower left side of LAC's cockpit panel).
Here is a little block of code that does this:
Those two lines of code will cause the message "DANGER, WILL ROBINSON!" to be displayed in the bottom line of the three-line display. Prior lines will be scrolled upward as necessary, and the uppermost of the three lines will be lost.
Mission developers wishing to display messages to the user can use this technique at any appropriate point within their mission logic.
Last edit: bbosen 2023-02-19
Note that text to be displayed in the SystemMessage Panel as described above must always use upper-case letters like the example "DANGER, WILL ROBINSON!".