ToolManager

From Crumbled World Wiki
Revision as of 13:06, 5 July 2025 by Anders (talk | contribs) (Created page with "{{:ToolManagerExampleCode}} ==Functions== {| class="wikitable" !|return !|function !|description |- | |setIslanduilderTool() | |- | |setIslandRiseTool() | |- | |setIslandLowerTool() | |- | |setIslandSmothTool() | |- | |setIslandElevateTool() | |- | |ToolManager:setIslandColorTool()|se...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.