• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GML How to access the creation code of a room from an object

Artie_Kyle

Member
Hey guys,

Currently wondering if there's a way to access the creation code of a room from inside an object. I'm using the dot operator, but the compiler crashes with an error.

Suggestions are more than welcome.

Thanks for help, everyone!
 
H

Homunculus

Guest
A room isn’t an instance therefore you can’t simply access its creation code variables. You probably want those to be global.
 
Last edited by a moderator:
Top