I thought to myself 'yes'! That's it! I could probably use Resetroom to do this! 'psuedo hotel room trick' = one room but stores the room changes in global variables (light,switches,etc). If i store the values in global variables those are obviously outside of the room.
However once leaving the room calling
It takes away the added global values, since it was added in the room. If it was a room int value i would get it. Is that delibrate logic? It would make forexample "psuedo hotelroom" setups easier. If the global values would not get affected. I've solved it with a dumb solution atm using bools and a int for each room, which works since i'm no legit coder.
But it's more of a job i think. Then if i could have just went *add global variable int for each psuedo room* and ++; each time a button or a lamp or whatever is lit in that room and ofc --; when turned off then re-entering the room and it will check for if it was that room i was in before or another room and it will setup itself accordingly with that one int (if i'm thinking correctly). I understand ofc there are probably 'programmer ways' to do this properly
Code examples are very much welcomed as always! Lots of objects and hotspots to click around in the room
However once leaving the room calling
It takes away the added global values, since it was added in the room. If it was a room int value i would get it. Is that delibrate logic? It would make forexample "psuedo hotelroom" setups easier. If the global values would not get affected. I've solved it with a dumb solution atm using bools and a int for each room, which works since i'm no legit coder.
But it's more of a job i think. Then if i could have just went *add global variable int for each psuedo room* and ++; each time a button or a lamp or whatever is lit in that room and ofc --; when turned off then re-entering the room and it will check for if it was that room i was in before or another room and it will setup itself accordingly with that one int (if i'm thinking correctly). I understand ofc there are probably 'programmer ways' to do this properly
Code examples are very much welcomed as always! Lots of objects and hotspots to click around in the room