Thanks for the reply. It appears that the function setBackgroundColor() requires 5 arguments, where I was giving only 4. I wasn't expecting the error to be in the function, but it appears to be working now.
Thanks again!
Search found 2 matches
- Thu Feb 04, 2010 4:07 am
- Forum: Help Forum
- Topic: LUA Error "wrong argument type" when calling no arg function
- Replies: 2
- Views: 2603
- Thu Feb 04, 2010 3:47 am
- Forum: Help Forum
- Topic: LUA Error "wrong argument type" when calling no arg function
- Replies: 2
- Views: 2603
LUA Error "wrong argument type" when calling no arg function
I am having a minor problem when it comes to creating a function in Lua, and then calling it later. The general idea is this : function createConsole() createMiniConsole("console_test", 100, 100, 100, 100) setBackgroundColor("console_test", 0, 125, 125) setMiniConsoleFontSize(&qu...