Home › Forums › General › Programming › Changing Images – what could be wrong in that LUA code › Re: Changing Images – what could be wrong in that LUA code
June 18, 2012 at 2:45 pm
#4438
Definetly using "." for object operations os wrong, you got some of it right and some wrong always use ":" for object operations
[code:29pwhc6j]
x = fs.getComponent() — WRONG
x = fs:getComponent() — CORRECT
[/code:29pwhc6j]