Save/Load atribute

Hi,

I made a actor (coin) like this:

when actor collide with coin:
change atribute game.coin to game.coin+1

save atribute game.coin to 1

And on the first scence i put this

Load atributes from: 1 to game.coin

But it dosent work because, the coin isn't counting, but when i delete the load atribute, the coin counting.

So my question is: why not counting my coin when i try save it?

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    Try a different key - maybe with a string rather than numbers.

  • rozsa.jatekfejlesztesrozsa.jatekfejlesztes Member, PRO Posts: 45

    Thanks, but i tried before and isn't worked.

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    Can you post a screenshot of your logic? That'll help us see what's going on.

  • rozsa.jatekfejlesztesrozsa.jatekfejlesztes Member, PRO Posts: 45

    Thanks for answer . I solved ! I dont know why not worked , I just put the save atribute to another actor ..

Sign In or Register to comment.