IsHostilesNearby
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Contents
Description
Returns 1 if there are hostile actors near the player. Maximum distance is controlled by fHostileActorExteriorDistance and fHostileActorInteriorDistance settings.
Syntax
(0, 1:int) IsHostilesNearby
Example
set bHostilesNear to IsHostilesNearby
Notes
- The function utilizes internal subroutine which is called when Sleep/Wait key is pressed in the game.