#how to make it that you can switch maps after turning on all the lamps
1 messages · Page 1 of 1 (latest)
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.
I don't know how to do that