VECTOR tmpV; vec_set(tmp, my.x); tmpV.z -= 5000;
you=NULL;
var dist_chao = c_trace(my.x, temp.x, IGNORE_PASSABLE);
if(you!=NULL) //make sure an ENTITY has been hit
{ if(you.OBJECT_TYPE==OBSTACULO) //check if entity is an OBSTACULO
{ set(mypanel, VISIBLE); }
else
{ reset(mypanel, VISIBLE); }
}
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial