Search found 4 matches
- Sat Dec 22, 2018 11:35 am
- Forum: Support and Development
- Topic: Calling a function from inside a table inside a table
- Replies: 2
- Views: 3087
Re: Calling a function from inside a table inside a table
Works perfectly, thanks alot!
- Thu Dec 20, 2018 11:39 am
- Forum: Support and Development
- Topic: Calling a function from inside a table inside a table
- Replies: 2
- Views: 3087
Calling a function from inside a table inside a table
Hey, I got stuck on a kinda tricky problem (atleast for me, since I never really used functions inside of tables) So I have tables called windowfunc and buttonfunc, buttonfunc is stored inside of windowfunc. There is windowfunc[1] and windowfunc[2], buttonfunc[1-3] in each. How can I call a function...
- Thu Nov 29, 2018 10:36 pm
- Forum: Support and Development
- Topic: Removing items from table doesn't work
- Replies: 3
- Views: 3641
Re: Removing items from table doesn't work
Many thanks for the replies. It seems to be working properly now.
- Thu Nov 29, 2018 1:06 pm
- Forum: Support and Development
- Topic: Removing items from table doesn't work
- Replies: 3
- Views: 3641
Removing items from table doesn't work
When the code runs, the cubes aren't disappearing after their ttl is larger than 100 (if it even counts) for i,v in ipairs(cubes.cube) do if v.y < height - 20 then v.y = v.y + cubes.speed else if v.ttl > ttlg then table.remove(cubes.cube, i) end end v.ttl = v.ttl + 1 end When I moved the table.reomv...