Here is the enemy function as a test
function enemy()
{
cl_id = enet_get_clientid();
you=players[enet_ent_creator(enet_ent_globpointer(players[cl_id]))];
//................................................................
my.emask = ENABLE_SHOOT; // the enemy is sensitive to impact with player's bullets
my.event = enemy_got_shot; // and runs this function when it is hit
if (vec_dist (you.x, my.x) < 1000) snd_play(alarm_wav, 100, 0);
wait (1);
}
I can shoot at the enemy, but it can't see me. What i can do?