
This is similar to the autotargeting sentries. the
only difference is senty.c
There is a new version of sentry.c with this tut.
replace the olderversion with this one.
The difference with this file is in sentrythink it
targets enemies in a similar way. it then sets it's angles to face them fully,
and sets the velocity and runs toward them until it is within 40 units of it.
it then stops and waits till it's target moves again. you could use this to
create bombs which move toward the target and then explode (replace the
VectorClear line with a call to T_RadiusDamage
Create sentries in the same way as before, the
laser targeter has no effect at the moment. if they see an enemy, they will
chase it. No real functionality here, but it does show how to make them move.