ToolManager

From Crumbled World Wiki

ToolManagerExampleCode

Functions

return function description
setIslanduilderTool()
setIslandRiseTool()
setIslandLowerTool()
setIslandSmothTool()
setIslandElevateTool()
setIslandColorTool()
setWorldEdgeBuilderTool()
setNavMeshBuilderTool()
setWorldChooperTool()
loadToolScript(string scriptFilePath) Load a tool to memory and run the create function immediately.
setToolScript(string toolScriptFilePath) Set which Lua tool to be used.
replaceLuaScript(LuaScript script) Add or replace a previously loaded script with the same name.
toolSettingsChanged() Reload settings from file in the current file.