reading messeges from the screen

reading messeges from the screen

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
touraj21
Posts: 7
Joined: 12 Feb 2012, 22:44

reading messeges from the screen

Post by touraj21 »

Hi Everyone,
I wanted to know if there is a way to get the messages displayed on the screen .
for example I use Spring.echo( " something" ) from a widget.
I want to be able to get the message from the screen and use in my code.


thanks
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: reading messeges from the screen

Post by Beherith »

function widget:AddConsoleLine(lines,priority)
Post Reply

Return to “Lua Scripts”