How can I make the script smart in ways like OOP, etc? I want the best way because I don’t have much experience.
Your question is a bit abstract. Smart in which sense? What are you optimizing for? Readability? Script length? Memory? Speed?
3 Likes
Usually people become smart by going to college and getting a PhD. You are the parent of your script, so make sure it eats healthy, exercises, and has a social life. But, school also comes important! You can invest in tutoring for your script.
7 Likes
Modules… Modules… MODULES
What is Object Oriented Programming (OOP) ?
Hello there! Welcome to the OOP tutorial I created with the knowledge I’ve gained over the last few months.
Object-oriented programming (OOP) is a programming approach in which classes of
objects are identified and closely related to the methods (functions) with which they are
associated. It also incorporates concepts like as attribute and method inheritance.
Simply put, OOP will assist you in creating more efficient scripts in the long run.
Ho…
ALL ABOUT OOP!
Prerequisites
An understanding of meta-tables (although the required code will be explained)
How tables work and a competent grasp of the Lua syntax
Parts
What is OOP?
How does it help me?
How do I make this work in Lua?
Integrating with module scripts
What about inheritance?
What is OOP?
OOP stands for Object Orientated Programming and is a way of laying out code in a more friendly way whilst also keeping large projects organised. You have used objects in pro…
1 Like
OOP is not a ‘smart’ way of scripting, it is just a method with its own pros & cons like many others. I also doubt that you could adopt such complex method without having much experience.
1 Like
From your profile it seems like you’re new. Don’t learn OOP right away it will just confuse you.
system
(system)
Closed
May 16, 2025, 8:20am
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.