Add [scrollAdd] to display block

    Joined
    Mar 31, 2015
    Messages
    281
    Reaction score
    95
    • Purchased!
    • Legacy Citizen 5
    The [add] to display block is awesome.. but it lacks the ability to add text and scroll it. So here's the idea:

    [scrollAdd] would add text to the last line of the display and pop off the first line. This way, any number of messages could be pushed out to a display block and watch. So ship status messages etc you can see scrolling on by, like a real display or message log. While less significant, but useful, if the bottom display is linked to the display on top of it, then the [scroll] would chain it's effect to top display (the top display would have it's first line removed, and would have a new bottom line added with the popped off line of the bottom display). But I'd be happy with just this basic scroll effect on a single display.

    Another nice feature would be: [atline:N] which would replace a line of text on a display at line N.

    Ideally displays would move to use a fixed-spacing font stored within starmade so that display text position would be consistent across platforms...then we can move to more fun options like [replacetxt:row,col] at some point for even more interesting display updates...or even go so far as to allow multiple display blocks to be linked in a group to share a display area (and text storage size) .

    But for now, I'll be happy with just [scrollAdd] for a scrolling display of ship log messages, either just for aesthetics, or real logic-triggered messages (like a running log of when station shields dropped, etc--of course a [timestamp] tag would be useful then too for that sort of thing).
     
    Last edited:
    • Like
    Reactions: Lone_Puppy