So I have now two problems.
1. At the (event_type == event_entity) the you is always null, too by collisions with entities. Which premises are for you that it will set right?
2. If the enemy looks with
vec_set(temp,you_pos);
vec_sub(temp,my.x);
vec_to_angle(my.pan,temp);
to another entity, it will done suddenly and not soft. How can I make it, that it rotate slower to the another entity?