Posted By: Loopix
c_scan and "you" pointer to closest entity? - 03/15/08 10:21
I know...this is simple stuff and has been asked before (even recently on this forum). Unfortunately all answers diden't really help me
I manage to get a handle on the closest entity but the handle won't switch when a second entity comes closer than the first.
I use "my.enemy" as skill to determine the current enemy.
Please...can someone post a piece of code that accomplishes that in a simple way (in good old c-script) ?
Thank you!
I manage to get a handle on the closest entity but the handle won't switch when a second entity comes closer than the first.
I use "my.enemy" as skill to determine the current enemy.
Please...can someone post a piece of code that accomplishes that in a simple way (in good old c-script) ?
Thank you!