GetNearestCompassHostile

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the nearest hostile compass target.

Syntax

[help]
(ref) GetNearestCompassHostile skipInvisibleHostiles:int{0/1}

Example

set rHostile to GetNearestCompassHostile 1 // Gets the nearest hostile compass target, skipping invisible hostiles 

See Also