Script seems to be kept running
Posted: Tue Mar 07, 2017 12:34 pm
In Moho12 after I've run one of my scripts, whenever I try to delete shapes (select points and press delete) I get an error message in Lua console saying:
No points are deleted.
Why do Lua console complain about my script when I use a completely different thing (delete points)?
The script worked fine up to Anime Studio 11.
I tried to rename mesh to something else in my script if perhaps it blocks mesh that is used in other functions, but Lua console just complains about this new name instead.
The script:
https://dl.dropboxusercontent.com/u/281 ... -layer.lua
Code: Select all
.../DR_move-shape-to-new-layer.lua:70: attempt to index local 'mesh' (a nil value)
Why do Lua console complain about my script when I use a completely different thing (delete points)?
The script worked fine up to Anime Studio 11.
I tried to rename mesh to something else in my script if perhaps it blocks mesh that is used in other functions, but Lua console just complains about this new name instead.
The script:
https://dl.dropboxusercontent.com/u/281 ... -layer.lua