Hi,
Trying to get a button’s text, I do below but it has error?:
for index = 0, 64 do
character = gui.get_text( string.format("Char%d", index) )
end
ERROR:SCRIPT: data/gui_script/Screen-9-NewHighScore-GUI-Script.gui_script:182: bad argument #1 to ‘get_text’ (userdata expected, got string)
stack traceback:
[C]: in function ‘get_text’
data/gui_script/Screen-9-NewHighScore-GUI-Script.gui_script:182: in function <data/gui_script/Screen-9-NewHighScore-GUI-Script.gui_script:79>
Any ideas?, thanks!
Jesse