The code below retrieves the parameters filename-independent.
// Get Plugin Parametersvar params = $plugins.filter(function(p) { return p.description.contains('<SilverSkipTitle>'); })[0].parameters;alert(params.ReallySkipTitle);However, you still gotta store it somewhere so you don't have to convert a parameter to an int or bool or etc. every frame.
Snippet from Yanfly:
However, he DOES store it nicely in some sort of container (Yanfly.Param) and he can use spaces in his parameter names, which looks nicer.
What is the suggested most correct way to use parameters for a fairly large script?
// Get Plugin Parametersvar params = $plugins.filter(function(p) { return p.description.contains('<SilverSkipTitle>'); })[0].parameters;alert(params.ReallySkipTitle);However, you still gotta store it somewhere so you don't have to convert a parameter to an int or bool or etc. every frame.
Snippet from Yanfly:
This does not seem to be filename independent. Renaming it would probably cause a problem (not entirely sure).
However, he DOES store it nicely in some sort of container (Yanfly.Param) and he can use spaces in his parameter names, which looks nicer.
What is the suggested most correct way to use parameters for a fairly large script?
