FindSingleRangedTarget
From NWN Lexicon
Contents |
[edit] FindSingleRangedTarget()
Seeks out an enemy more than 3 meters away.
[edit] Description
Finds the nearest creature within a 30 meter radius sphere around the caller (OBJECT_SELF), though not any within 3 meters or less.
[edit] Remarks
Used in the core AI to find a target for archers etc to shoot at.
[edit] Requirements
#include " x0_i0_enemy "
[edit] Version
1.28
[edit] See Also
author: John Shuell, editors: Lilac Soul, Mistress, additional contributor: Lilac Soul