In my main.lua file i am calling the module gameFunctions.spawnText(). Later on when i press a button it calls gameFunctions.killText(), but it wont remove the text.
I am using the following code to remove the text.
txt:removeSelf()
txt = nil
What am i doing wrong?
Sorry for my lack of information, i trying to describe it the best i could! I seem to be doing alot of “hacking” lately and i want to know how to do it right! I hope to take an actual class soon so i understand the concepts better!
To Add: in the terminal it says the txt:removeSelf() is the problem [import]uid: 24708 topic_id: 24824 reply_id: 324824[/import]