oka, y si tienes ya el tamaño de tu room , por ej.1000 y quieres que salga el mensaje cuando vas en 500, podria ser algo asi entonces...
y = room_width/2
with(obj_Player)
{
if x = y
{
show_message("hola");
}
}
y = room_width/2
with(obj_Player)
{
if x = y
{
show_message("hola");
}
}