FindSingleRangedTarget()

Seeks out an enemy more than 3m away

object FindSingleRangedTarget();

Description

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



Remarks

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


Requirements

#include "nw_i0_generic"

Version

1.28

See Also

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


 author: John Shuell, editor: Lilac Soul, additional contributor(s): Lilac Soul
 Send comments on this topic.