something like this

VECTOR* tmp = vec_position;
vec_sub (tmp, vec_explosion);
vec_length (tmp) //gives now the distance from position to explosion, use this as the force as you want