luaapi:px_scriptman
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| luaapi:px_scriptman [14/10/2012 04:31] – created ppk | luaapi:px_scriptman [16/06/2015 14:04] (current) – ppk | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Script manager | + | ====== Script manager |
| ^ Function ^ Description ^ | ^ Function ^ Description ^ | ||
| |ScriptMan.GetScript()|Return script table with sName, bEnabled, iMemUsage.| | |ScriptMan.GetScript()|Return script table with sName, bEnabled, iMemUsage.| | ||
| |ScriptMan.GetScripts()|Return table with scripts as tables with sName, bEnabled, iMemUsage.| | |ScriptMan.GetScripts()|Return table with scripts as tables with sName, bEnabled, iMemUsage.| | ||
| - | + | | | | | |
| - | ---- | + | |
| |ScriptMan.MoveUp(sScriptName)|Move script up in script order. Return nil when failed, true if success.| | |ScriptMan.MoveUp(sScriptName)|Move script up in script order. Return nil when failed, true if success.| | ||
| |ScriptMan.MoveDown(sScriptName)|Move script down in script order. Return nil when failed, true if success.| | |ScriptMan.MoveDown(sScriptName)|Move script down in script order. Return nil when failed, true if success.| | ||
| - | + | | | | | |
| - | ---- | + | |
| |ScriptMan.StartScript(sScriptName)|Start script with given name. Return nil when failed, true if success.| | |ScriptMan.StartScript(sScriptName)|Start script with given name. Return nil when failed, true if success.| | ||
| |ScriptMan.RestartScript(sScriptName)|Restart script with given name. Return nil when failed, true if success.| | |ScriptMan.RestartScript(sScriptName)|Restart script with given name. Return nil when failed, true if success.| | ||
| |ScriptMan.StopScript(sScriptName)|Stop script with given name. Return nil when failed, true if success.| | |ScriptMan.StopScript(sScriptName)|Stop script with given name. Return nil when failed, true if success.| | ||
| - | + | | | | | |
| - | ---- | + | |
| |ScriptMan.Restart()|Restart scripting interface.| | |ScriptMan.Restart()|Restart scripting interface.| | ||
| - | + | | | | | |
| - | ---- | + | |
| |ScriptMan.Refresh()|Refresh script list.| | |ScriptMan.Refresh()|Refresh script list.| | ||
luaapi/px_scriptman.1350189099.txt.gz · Last modified: by ppk
