I'm trying to get an entity to explode when the player spaceship touches it. Problem is, I have no idea how I would do a
if(hit)
{
do stuff
}

I looked at the f1 help, and I know it has something to do with c_trace, but I'm still confused. Could someone just write an example that basically shows, if this entity is hit by this entity, do something. I'll make sure not to copy and paste. tongue Or maybe there's some tutorial lying around that I didn't see.

Thanks in advance.