#how to make it that you can switch maps after turning on all the lamps

1 messages · Page 1 of 1 (latest)

tame crown
#

I put lamps for players to turn on but I want the game to switch maps when turning on all the lamps. What do I do

autumn bough
#

Every time when a lamp is turned on, add 1 number to a global variable. And check if the global variable is reach the all lamps count. If so just switch map.