Fangames > Programming Questions

Making an object show only once?

<< < (2/2)

Stepcore:
If it shows every time you press R it's because you manually set it to 0 in that room or it's not global.

Sephalos:
If your global variables are reseting to 0 when you press "R" you might be having a problem with the engine.

Check the load scripts and make sure the game doesn't have a restart_game in there. If you do that however, you might have other problems with global trigger variables wich you will need to set to 0 when pressing "R". (before the loadGame script is executed)

BoshyMan741:
Yep that was the problem too.  :tenKapple: I fixed the other global variables too. Thanks.  :atkHappy:

Navigation

[0] Message Index

[*] Previous page

Go to full version