press “z”?
(20 letters is apparently needed)
Try updating the ArrayTools extension.
tried that, it breaks everything.
If you are sure everything is correct, sometimes it’s just the order, event order matters.
Maybe change the place from where the event is triggered, especially if you have external events try moving the even to the scene events or vice versa. Or the order in the event group itself.
Yep, accounted for and tried. No dice.
When you compare the working and failing scenes, check the loot event’s variable action itself: in GDevelop it’s easy to have “Change scene variable” instead of “Change global variable,” or to watch a scene variable with the same name in the debugger. Also confirm the failing scene’s loot event isn’t inside a group or condition that only passes in the working scene. Since updating ArrayTools breaks your pinned version, compare the two event sheets directly rather than updating first.
Checked each variable-altering statement. Also important to note that this wouldn’t explain why it works in some scenes but not others, when it is a global event.
Whoa, this is a huge project.
I think for starters, explaining step by step how your item inventory works may speed up the search for a solution. Also on which scenes is the issue happening? That way, we can check their code.
Going through the game’s files is overwhelming. Even if you pay people to help, there’s simply too much stuff to go through, and without any notes it makes examining everything really really hard.
Global variables are very easy to miss and i’ve noticed a TON of Wait actions as well. Is there a reason for them? Pretty sure they can easily screw you up if you mess with them.
Inventory system is on the tab “battleitemhandling”. Wait actions are necessary, and don’t cause any problems I’ve noticed.
Things start messing up at the scene “grove-hill1”, each scene from that point fails to work properly. Before you ask, I’ve tried reordering the scenes and it doesn’t change anything.
as far as i know, reordering scenes doesnt do anything besides affecting what order it preloads them in the background
Seems to be true, which is why I’m confused as to why the scenes made after a certain point don’t work.
?? what do you mean?
All the scenes made during a certain span of time have the issue, as do copies of those scenes. This is strange, because the other scenes do not.