Table of Contents

Method EnterTargetMode

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

EnterTargetMode(Action<OnPlayerTarget>, TargetModeSettings?)

Triggers the player to enter cursor targeting mode, invoking the specified handler once the player selects something.

public void EnterTargetMode(Action<ModuleEvents.OnPlayerTarget> handler, TargetModeSettings? settings = null)

Parameters

handler Action<ModuleEvents.OnPlayerTarget>

The lamda/method to invoke once this player selects something.

settings TargetModeSettings

Display and behaviour options for the target mode.