A chip for all intents and purposes acts as a synced integer/string/bool variable across all active servers for that room. The only caveat is it only syncs once, and it’s upon the room being loaded, this would allow for games or events where the players that are spread across all the servers can collaborate on a goal. A few examples would be: hidden collectibles found; a board showing the progress the entire playerbase how many they have collected. And a global consumable item where players collect it from within the game, and the next time they play they will have that item to use.
I would believe RecRoom would need to ratelimit this chip, but it would be cool if it could support tables, too.
Read Global Value to simply just read the value, use minimal heat, and if it returns a rateLimit, you’re checking the Global Value too fast and it’ll just keep the last result that you have read.
Set Global Value, will attempt to set this value for all available rooms, including into the future, if it fails, it’ll simply return the result that is still set, uses slightly more heat as it’s both attempting to set the value, and get what the value is now set to.
Then for all rooms, an event receiver saying this value has just been updated and to use this information as needed.
I would probably also say that Global Values are probably going to be persistant? Or is it going to be volitile. In which RecRoom could provide two different options. ‘Saved Global Value’ and ‘Global Value’… Saved Global Values would be persistant, even when no instances are available.
Edit: As a suggestion on the Event Receiver upon a Global Value being updated and for both Read/Set, to have another output variable of the Instance ID that has set this variable, so that a chip like this can teleport a player to that instance. Imagine an event in one instance that only starts when a player bought a consumable and activated it, then the event runs for 30 minutes etc. Or simply being able to say ‘(name) started a global instance event! Good luck!’ etc, in which all instances start an event.
I do believe they mentioned that they talked about adding it with the addition of making Run The Block, but they said they might end up doing it in the future. Maybe if this one gets enough upvotes they’d do it sooner.
I kind of already made a suggestion like this a while back
Yeah I had requested it as well