T
Toxidalf
Guest
Hello, this time I have a problem dealing with rooms.
Basically, I want to make the classic revisitable rooms, to do this I'm using an object that checks for collision with the player, and when this happens I use its (the object trigger) creation code in the room editor to manipulate in which room the player will be put into and the coordinates of him as well.
Now, this works fine.
My player gets to the next room and everything, but only if there is one trigger in the room. If I have two, situation gets tough... my player won't just go where my trigger tells him to go.
I tried using functions such as instance_nearest, distance_to_object to force the player to interact only with the nearest trigger, but that won't work... any ideas?! Thanks!!
Basically, I want to make the classic revisitable rooms, to do this I'm using an object that checks for collision with the player, and when this happens I use its (the object trigger) creation code in the room editor to manipulate in which room the player will be put into and the coordinates of him as well.
Now, this works fine.
My player gets to the next room and everything, but only if there is one trigger in the room. If I have two, situation gets tough... my player won't just go where my trigger tells him to go.
I tried using functions such as instance_nearest, distance_to_object to force the player to interact only with the nearest trigger, but that won't work... any ideas?! Thanks!!