Lua Script Environment Problem
Posted: 15 Feb 2018, 00:16
Good evening dear ladies and gentil men,
i come to you in great distress. Namely beeing that i seem to have shot the ability of gadgets to retrieve a environment.
https://github.com/PicassoCT/Journeywar ... s.lua#L669
Many of the more complex units in my game rely on this ability and are thuse useless.
It also seems that all the Unitscript tables are missing from the environment.
These are tables such as COB, SFX etc.
My unit_script.lua is very close to the Zero-k one in setup. I shall compare it next to the spring default unitscript.lua.
https://github.com/PicassoCT/Journeywar ... script.lua
If you have any advice or direction - i would be gratefull.
Regards and have a nice evening
i come to you in great distress. Namely beeing that i seem to have shot the ability of gadgets to retrieve a environment.
https://github.com/PicassoCT/Journeywar ... s.lua#L669
Many of the more complex units in my game rely on this ability and are thuse useless.
It also seems that all the Unitscript tables are missing from the environment.
These are tables such as COB, SFX etc.
My unit_script.lua is very close to the Zero-k one in setup. I shall compare it next to the spring default unitscript.lua.
https://github.com/PicassoCT/Journeywar ... script.lua
If you have any advice or direction - i would be gratefull.
Regards and have a nice evening