Posts: 3,046
Threads: 162
Joined: Jul 2011
RE: Animated Instruction
2018-03-10, 21:06
(2018-03-10, 20:35)Jarema Wrote: PHP Code:
<?php
[string "model-build-animations.lua"]:108: attempt to index a nil value (global 'io')
String "model-build-animations.lua"]:14: module 'io' not found:
no field package.preload['io']
no file '..\AppData\Roaming\LDCad\scripts\default\global\io.lua'
no file '..\AppData\Roaming\LDCad\scripts\default\modules\io.lua'
no file '..\LDCad\io.dll'
no file '..\LDCad\..\lib\lua\5.3\io.dll'
no file '..\LDCad\loadall.dll'
no file '.\io.dll'
Script main run failed.I didn't link in the lua IO module thinking it could be misused easily.
If you need to use external data you can put it in a lua script using a global variable though and then require that script like so:
data=require('myDataDefFileWithoutTheDotLua')