FindSingleRangedTarget
From NWN Lexicon
Jump to navigationJump to search
FindSingleRangedTarget()
Seeks out an enemy more than 3 meters away.
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
author: John Shuell, editors: Lilac Soul, Mistress, additional contributor: Lilac Soul