FindSingleRangedTarget()

Seeks out an enemy more than 3 meters away.

object FindSingleRangedTarget();

Description

Finds the nearest creature within a 30 meter radius sphere around the caller (OBJECT_SELF), though not any within 3 meters or less.



Remarks

Used in the core AI to find a target for archers etc to shoot at.


Requirements

#include "x0_i0_enemy"

Version

1.28

See Also

categories: Combat Information Functions | Core AI Functions | Math Functions | Targeting Functions


 author: John Shuell, editors: Lilac Soul, Mistress, additional contributor: Lilac Soul