Implement in a service to add a custom handler for event scripts.
More...
|
ScriptHandleResult | ExecuteScript (string scriptName, uint oidSelf) |
| Called when the game would execute the specified script name. More...
|
|
Implement in a service to add a custom handler for event scripts.
◆ ExecuteScript()
ScriptHandleResult Anvil.Services.IScriptDispatcher.ExecuteScript |
( |
string |
scriptName, |
|
|
uint |
oidSelf |
|
) |
| |
Called when the game would execute the specified script name.
- Parameters
-
scriptName | The script being called. |
oidSelf | The current object context (OBJECT_SELF). |
- Returns
- 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.
The documentation for this interface was generated from the following file:
- NWN.Anvil/src/main/Services/ScriptDispatch/IScriptDispatcher.cs