IsHostilesNearby

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns 1 if there are hostile actors near the player. Maximum distance is controlled by fHostileActorExteriorDistance and fHostileActorInteriorDistance settings.

Syntax

[help]
(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.

See Also