Beta Documentation - Subject to change.

Unloads the script state specified.

Syntax

Lua
function PluginManager.UnloadScriptState(scriptState);

Parameters

scriptState
Type: string
The name of the script state to be unloaded.

Remarks

Unloads the script state that is specified. Unloading a script state results in the unloading of every plugin that was loaded into that script state.The script state that is used to invoke this method cannot unload itself.

See Also