ermm i'd just use vec_dist in a while loop and check if the chosen key is pressed.
try...
Code:
while(player!=NULL) // while player pointer is not empty.
{
if(vec_dist(me.x,point.x)<100) // are you closer than 100 quants?
{
if(key_space) { execute something here!!! } // has space been pressed?
}
wait(1);
}