I cant make my weapon save accross levels

i am trying to make it so that after collision with a different weapon saves accros levels but i dont know how to make it so that the new weapon saves without reloading the old weapon what do i do (click the green block in the title screen to go to the level with the weapon)

1 Like

The “Save” Behaviors saves numbers, for example, when you hit the crossbow, make it save as one. When you hit the slimeball holder, make it save as two. Then use “filters” to determine which is saved last.
The ‘Read’ input, gets the last saved numbers.
The ‘Save’ input, saves the inputed number.

3 Likes

wouldnt that require the weapon to be determined by level? if i were to buy it in the shop how would i make it so the rest of the levels had that without being predetermined?

1 Like

Do you want this weapon to save between play-throughs (Reloading the game page)? If that’s not needed, a Global is better.

Just something like this should work. It just which sets weapon is being used, gets that number upon loading a new level, and picks an option via the Router

2 Likes