Re: Changing Images – what could be wrong in that LUA code

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

#4438
atom
Keymaster
    • Topics: 159
    • Replies: 2945
    • Total: 3104
    • ★★★★★

    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]

    Ctrlr