if(my.clipped != on && vec_dist(my.x,player.x) <= 200) //200 or whatever distance
{
player.health -= 1*10 //10 damage, you can adjust
wait(1000) //wait 1000m/s u ntil damage is give again
}
add wahtever partical effect in there, just have it last a few frames
Hi NEMS >.<
Edit: just read about angle
Last edited by Leaf; 07/02/07 08:20.