Table of Contents

Method Execute

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Execute(string, NwObject?, params (string ParamName, string ParamValue)[])

Executes the specified NWN script. If scriptName does not specify a compiled script, nothing happens.

public void Execute(string scriptName, NwObject? target, params (string ParamName, string ParamValue)[] scriptParams)

Parameters

scriptName string
target NwObject
scriptParams (string ParamName, string ParamValue)[]

Execute(string, params (string ParamName, string ParamValue)[])

Executes the specified NWN script. If scriptName does not specify a compiled script, nothing happens.

public void Execute(string scriptName, params (string ParamName, string ParamValue)[] scriptParams)

Parameters

scriptName string
scriptParams (string ParamName, string ParamValue)[]