Scroll Text in Interfaces?

  • #1, by constantinWednesday, 14. March 2018, 18:09 6 years ago
    Is there a possibility to scroll text? I have an interface with info-text. I would like the user to be able to scroll this info-text with arrows up and down. But I found out, it is not possibly to move buttons (I was thinking about just moving the button, where the text was shown.)
    thanks in advance. 

    Forum Fan

    167 Posts


  • #2, by sebastianWednesday, 14. March 2018, 18:50 6 years ago
    yes, it is. Use the scrollpane feature for lua which is mentioned in the API docs:


    the background graphic you define there is split up into 9 parts. the corners and the connecting sides + inner area which gets stretched.

    SimonS updated the script there a few days ago.

    The Object you define at the addtext line has to be the id for an display *** text action part (right click > copy ID). The text in it gets displayed then.

    Thread Captain

    2346 Posts

  • #3, by constantinWednesday, 14. March 2018, 22:40 6 years ago
    Great thank you

    Forum Fan

    167 Posts

  • #4, by constantinFriday, 16. March 2018, 17:12 6 years ago
    The Object you define at the addtext line has to be the id for an display *** text action part (right click > copy ID). The text in it gets displayed then.

    I am still on version 4.2.5. is there an easy way to find out the id there?
    I also dont know, how to use it. 

    Forum Fan

    167 Posts

  • #5, by sebastianFriday, 16. March 2018, 17:38 6 years ago
    uff... im not even sure und if the scrollpane feature is available in 4.x.
    At least it worked a bit different. 

    To get the id in 4.x,right click on that object and select "dump to log" (or something like that). that should appear nownin the vs editor log file

    Thread Captain

    2346 Posts

  • #6, by constantinSaturday, 17. March 2018, 11:49 6 years ago
    ok :-) thank you anyway. i will switch to v5 for the next game i do.

    Forum Fan

    167 Posts

  • #7, by sebastianSaturday, 17. March 2018, 19:40 6 years ago
    ah, i remember 4.x games from daedalic which have scrollpanes used (night of the rabbit > diary). So it should be possible but i guess SimonS has to describe how the scrollpane script was used back then.

    Thread Captain

    2346 Posts

  • #8, by SimonSSaturday, 17. March 2018, 22:55 6 years ago
    They manually programmed these scroll panels.

    Thread Captain

    1580 Posts

  • #9, by sebastianSaturday, 17. March 2018, 23:03 6 years ago
    They manually programmed these scroll panels.

    ah, okay. So to solve this mystery: 4.2.5 doesnt have this ability built in ?

    Thread Captain

    2346 Posts

  • #10, by SimonSSaturday, 17. March 2018, 23:26 6 years ago
    No, they're possible since 5.0.3

    Thread Captain

    1580 Posts

  • #11, by constantinSunday, 18. March 2018, 13:13 6 years ago
    ok, thanks for the info - :-)

    Forum Fan

    167 Posts