Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

A way to get the "real" room when using live rooms?

A topic by joedaywalt created Jan 02, 2020 Views: 208 Replies: 2
Viewing posts 1 to 2
(1 edit)

In setting up live rooms, I found that the built-in `room` variable points (accurately) at `rmBlank`, which is my configured blank room. That makes total sense, given the implementation, but is there any way I can distinguish the "real" room? Even the name is fine.

I figured I'd ask before I made a system to track it myself. Probably would just set a global in the room creation code or something. 

Thanks for any help you can offer!

Developer(+1)

You'd store the room index in the script that transits to live room for now - there is an internal variable, but it is not exposed to GML under a reliable name

Alright; that'll do fine for now. Thanks for the reply--loving the tool so far!