Imagine im writing a script that modifies the main menu, but i want that option to be optional.
I know i can do it using alias, checking for config and then calling for the original method. Or just using condition to do X or Y.
But i can do it better? What im was wondering is if i can make that a part of script only loads if the config option is true. Something like:
Is condition true?
class Game_System
rewrite of methods,etc
end
The other way will be creating it in addon, to put before main if you want to active it. But anyway im asking for help.
I know i can do it using alias, checking for config and then calling for the original method. Or just using condition to do X or Y.
But i can do it better? What im was wondering is if i can make that a part of script only loads if the config option is true. Something like:
Is condition true?
class Game_System
rewrite of methods,etc
end
The other way will be creating it in addon, to put before main if you want to active it. But anyway im asking for help.