A Random Creator
Member
Hello GameMaker community!
I don't think that this is possible at all but maybe you guys can figure out a way to do it. I was wondering if it was possible to declare a variable with the names of multiple rooms and check if the room equals to that variable like this for example:
I know that exactly doesn't work but is it possible to do anything like it? If so, let me know, thanks!
I don't think that this is possible at all but maybe you guys can figure out a way to do it. I was wondering if it was possible to declare a variable with the names of multiple rooms and check if the room equals to that variable like this for example:
Code:
//Create
r = room1, room2, room3
//Step
if(room = r) {
//do something
} else {
//do something else
}