How to reset a variable to 0?

mAnthon

New member
How can I make a variable equal 0? I have a variable called myOrbs. I have it set so you collect 4 orbs, and a door opens letting you go to the next level. That part works, following the steps from other threads in this forum but when I die, I can't make the myOrbs go back to 0. So if I collect 3 orbs, then die, the door opens when I collect 1 orb but I want to to not open until I collect all 4.
 
Top Bottom