jobjorgos
Member
if room == rm_example works
if room != rm_example does not work
I found a similar topic here:
https://www.reddit.com/r/gamemaker/comments/56s7x8/how_do_you_check_if_you_are_not_in_a_room/
I read there as solution:
your room ID is determined by order of the room. First room ID is 0, the next room is 1, and so on.
You can do something like
if room != 3 //(if the character isn't in 4th room.)
{
//Do
}
But how do I know the id of rm_example?
if room != rm_example does not work
I found a similar topic here:
https://www.reddit.com/r/gamemaker/comments/56s7x8/how_do_you_check_if_you_are_not_in_a_room/
I read there as solution:
your room ID is determined by order of the room. First room ID is 0, the next room is 1, and so on.
You can do something like
if room != 3 //(if the character isn't in 4th room.)
{
//Do
}
But how do I know the id of rm_example?