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)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.
Loading a .lua file multiple times...
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Loading a .lua file multiple times...
Who is online
Users browsing this forum: No registered users and 1 guest