Table cell value not working properly
Dues
Member Posts: 1,159
As you can see in my video below, the first time I run my game and collect the yellow items, the collected (purple box) shows 3 on the menu dropping down.
When I go back to my level select, it shows 1, but if I do it all over again it works like its supposed to and shows 3.
Any ideas?
http://img405.imageshack.us/img405/4558/oa9imhvdzwkodxznlvkxyc.mp4
Im writing to a table using this setup
When I go back to my level select, it shows 1, but if I do it all over again it works like its supposed to and shows 3.
Any ideas?
http://img405.imageshack.us/img405/4558/oa9imhvdzwkodxznlvkxyc.mp4
Im writing to a table using this setup
Comments
Image is to see what the character is in between the 0's.
Either case, if it is checking if game.stars > 0 just make the right hand side value 0 and not 0.0
It wont let me have just 0 it changes it to 0,0 by itself.
Not sure if I actually need that, but it doesn't work without it either
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
You can also move the Save Table behavior to the otherwise part of the rule to make sure it runs. Right now the Save Table behavior runs after the Change Table Value behavior runs, which should make the conditions false and cut off the running of behaviors.
I'll try this. My logic skills ain't the best, but I'm working hard on it
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS