REDNODE / DOCS

Live log mod

Example apps / list-mod / v0.1.0

Node mod

A Node mod window built around a scrolling list: a live log that keeps its newest lines.

Simulated game starting
Mod log

    How it works

    ui.list makes a list of lines that scrolls on its own. push adds lines at the bottom; only the new lines travel to the window, so feeding it often stays cheap.

    It keeps the newest lines only (keep, here 300) and follows the newest line unless the player has scrolled up.

    Without a height, the list fills the space the other nodes leave, so the window keeps its size and never scrolls: give it a height in pixels to fix it instead.

    What it uses

    ui.list list.push list.clear game.onState

    Try this

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/list-mod/ in the game folder, or start your own package from them: change id and name in the manifest first. The whole folder is on GitHub.