Hi there,

Im in need of help again >.<
I want to create a sentry gun but don't know if it is correct what i am doing.

Look at this please:

If the player is in vision-range
{
sentry x,y goes to players x,y slowly (i think something with *time)
While the sentry looks to player x,y
{
Ent_create bullet towards player
sound_play shoot
wait(1 sec.)
}
}


The script must detect if player is in range at his angle,
when he is, the sentry must shoot at him till player is out of range again or doesn't see the player.

Does this look right ?

Thnx in advance


-The Dragon's Eye is alway's watching you!-