Dage uses Lua 5.1 scripting engine, and it is highly recommended that you read Lua Manual
All scripts are found in Dage Root folder\data\scripts\
Comments are lines that Dage ignores completely inside code. You can disable one line, or make a comment to another with comments. Comments in scripts are made with two dashes --.
--This is a comment
or with blocks starting with --[[ and ending with --]]
--[[This is a long comment
extending
multiple line
--]]
Handlers: Are not visible in scene.
Objects: Are visual and can have mouse events.
Graphical User Interface objects:
Background objects:
All code is case sensitive!
That means tmesh, Tmesh, TMesh, TMESH are all different words. Correct one is TMesh.
See script reference for correct form.