im trying to check if theres 0 objects “block” between the position
What is the expected result
the game should trigger the event that updates the text to show to current amount of picked objects (0). (it works if the picked amount condition is 1 or higher)
It took me awhile
You see if i give you 5 or 3 apples
You can tell do you have 5 or 3 apples
YET if i don’t give you any apples
You will say you have no apples or 0 apples
Easy so far
BUT in gdevelop
When you want to check if you have 0 apples
You CAN’T do it by checking how much apples you are holding
Cause game need to 1st pick ANY apple to determine count of picked items
So since there was nothing to pick condition never kicked in
You would need to have variable which you are constantly setting to 0 and on top of that check number of picked objects
i guess the variable thing makes more sense since the engine cant pick the object since there are 0. im going to try what u did and ill reply with update once im done
update: okay now it works!! i had already made variable for the counting of the blocks in chunk it just wasnt being used for some reason but it seems to work now