I must of got excited, I forgot what I wanted... It was when the 0,0 of my screen looks at the model it does the action. Right now its if im within 200 quants x value it happens, not if ive got my crosshair over it (which is 0,0 of the screen always)

Anyways this is what ive got done with the script you gave me as a Automatic Door trigger:

/////////////////////////////////////////////////////////////////////////////////////////////////
//Leafs automatic door action script/////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////
ACTION door_vert {

my.shadow = on;//casts a shadow
my.gravity = off;//gravity off or your door might float away
wait(1);
my.polygon= on;//polygon collison
c_updatehull(my,my.frame);//updates the collison once the door is moved to its new position
wait(2);

while(1)//how many times to run the if statement //should only be a value of 1 for doors
{

//if the player is within clipping distance //If player is within 200 quants do
if(my.clipped != on && vec_dist(my.x,player.x) <= 200)
//if the player is within clippin distance //If player is within 200 quants do
{
my.z + = 140*1 ;//play with "140" for how far door goes up
time_smooth = 0.666;//smooths vertical movement over 3 frames incase of hardware lag

wait(1000);//time in millo-seconds before the door goes down

my.z - = 140*1 ;//play with "140" for how far door goes down
time_smooth = 0.666;//smooths vertical movement over 3 frames incase of hardware lag
wait(100);//time in millo-seconds before the door re-opens //only if you are still in range
}
wait(1);
}
}
/////////////////////////////////////////////////////////////////////////////////////////////////
//End of Leafs door action script////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////




Thanks, Leaf