Page 2 of 2

Re: Loading a .lua file multiple times...

Posted: Sun Nov 02, 2014 11:03 pm
by s-ol
ArchAngel075 wrote:hmm well seeing as ive already edited the file to be use OOP ill stick to it, it was more a matter of preference than function. Perhaps i can work on a setup that makes it easier while keeping OOP...

Anyhow thanks for the help, i might use the instancing lua files in another project in the future - learnt something new to play with afterall.
This doesn't have anything to do with lua files actually, it's just about seperating code and using OOP principles for convenience. You don't need an extra file for OOP and you don't need OOP to handle extra files. You also don't actually need extra files for what you are doing (you never need them actually)