GetNearestCompassHostile
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Contents
Description
Returns the nearest hostile compass target.
Syntax
(ref) GetNearestCompassHostile skipInvisibleHostiles:int{0/1}
Example
set rHostile to GetNearestCompassHostile 1 // Gets the nearest hostile compass target, skipping invisible hostiles