Table of Contents

Method ExecuteScript

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

ExecuteScript(string, uint)

Called when the game would execute the specified script name.

ScriptHandleResult ExecuteScript(string scriptName, uint oidSelf)

Parameters

scriptName string

The script being called.

oidSelf uint

The current object context (OBJECT_SELF).

Returns

ScriptHandleResult

If this is a conditional script, return True or False. Otherwise return Handled if this script should not be called by other dispatchers or the game.