Andre,
Not quite sure if I understand what you need...
Do you to follow entidade (or another entity) all the time?
If so just add a while(1) to the lines where you set the vec_to_angle.
if you just want the vector position in a seperate variable create the variable use the vec_set command.
If you need something different you can email me I and I can probably help you more.
Wildcat,
So you just need some code to move a target?
Brandon