Hello again, seems like a need a lot of help today)
i’d really like to know, is there any way to stop Runtime listener from firing forever?
say i have this:
[lua]local function show_thing()
if tonumber(_G.somevar) == 1 then
thing.isVisible = true
print(thing.isVisible)
end
return true
end
Runtime:addEventListener(“enterFrame”, show_thing)[/lua]
it will work fine, but also it will make my terminal stack all those “true” and so on without stopping
i tried to return true, but it doesnt seem to work…
is there any way to stop this? i dont know if this is bad for device memory, so i concerned [import]uid: 16142 topic_id: 14874 reply_id: 314874[/import]
[import]uid: 3826 topic_id: 14874 reply_id: 54996[/import]