Post subject: Simple LUA Test
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
I need a LUA Script that will display a message I can setup. I don't need the message to do anything else. No conditions. Just Show the message. I don't care where. It can be Center Screen or in a corner.
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
Masterjun
He/Him
Site Developer, Skilled player (1970)
Joined: 10/12/2010
Posts: 1179
Location: Germany
It depends on the emulator, but the Lua Scripting page might help out. It usually looks something like this:
Language: lua

while true do gui.text(10,20,"look it's a text") emu.frameadvance() end
It will display "look it's a text" at the horziontal position 10 and vertical position 20 (counting pixels from left and from the top respectively).
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
Thanks. It worked for my testing purposes. I wanted it for a quick test. I had a problem with LUA scripts not behaving wrong in BizHawk. I think it was resolved.
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.