Table of Contents

Interface ITriggerZone

Namespace
SkyrimForge.World
Assembly
SkyrimForge.dll

A zone ITriggerZoneFactory creates.

public interface ITriggerZone

Remarks

Members can be called on any thread, and the events are raised on the game's thread.

Properties

IsPlayerInside

Whether the player was inside at the latest check, as stored in the loaded game.

bool IsPlayerInside { get; }

Property Value

bool

OnEnter

Raised at the check that finds the player inside after outside.

IGameEvent<TriggerZoneEventArgs> OnEnter { get; }

Property Value

IGameEvent<TriggerZoneEventArgs>

OnLeave

Raised at the check that finds the player outside after inside.

IGameEvent<TriggerZoneEventArgs> OnLeave { get; }

Property Value

IGameEvent<TriggerZoneEventArgs>

Remarks

A center function returning null, or a center reference the game no longer has, counts as outside.