Code:
ACTION clip_models {
my.shadow = off;//casts a shadow
my.gravity = off;//gravity off or your tree might float away
wait(1);
while(1){
if(my.clipped != on && vec_dist(my.x,player.x) > 500)
{
my.invisible = on;
wait(1);
}
else {
my.invisible = off;
wait(1);
}
okay the problem now is that it blinks on and off when im outside 500 quants, I just want the entity to stay off. How do I end this ?