I was searching around and I cannot find this. Does anyone know where I can find a list of all the variables that can be used in scripts, organized in a logical way? I looked at the script area of RPGVXACE and it has line after line of definitions, but I'm looking for a more user friendly way of doing things. I'd like to search it for specific variables, without going into 1 catagory, searching, next catagory, search, etc. for the 30 different catagories in ACE.
List of all Variables for scripts
RGSSx Script SupportThis would be a start:
http://forums.rpgmakerweb.com/index.php?/topic/1143-how-to-make-the-most-of-custom-formulae-part-1/
But unfortunately it doesn't work the way you assume it should.
Originally the engine was never intended to be used by script access, so there was no try to organise the data from different classes in a form to help with such effects.
As a result, a lot of the falues aren't variables but constants defined by functions, and you need to rewrite the functions to change the values (TPmax, Floordamage and Attack_ID, Guard_ID and similiar cases are only a few).
I assume with "categories" you're describing the different scripts that work together to form the engine?
In that case I'll give you a hint: everywhere in the editor, right-clicking is your best friend ;-)
If you right-click on the script list (instead of the script area of the selected script), the search function you'll get there will search through all scripts.
http://forums.rpgmakerweb.com/index.php?/topic/1143-how-to-make-the-most-of-custom-formulae-part-1/
But unfortunately it doesn't work the way you assume it should.
Originally the engine was never intended to be used by script access, so there was no try to organise the data from different classes in a form to help with such effects.
As a result, a lot of the falues aren't variables but constants defined by functions, and you need to rewrite the functions to change the values (TPmax, Floordamage and Attack_ID, Guard_ID and similiar cases are only a few).
I assume with "categories" you're describing the different scripts that work together to form the engine?
In that case I'll give you a hint: everywhere in the editor, right-clicking is your best friend ;-)
If you right-click on the script list (instead of the script area of the selected script), the search function you'll get there will search through all scripts.
I am not sure what you mean by "organized in a logical way"
Can someone provide an example of some framework or scripting system that provides data in a logical way and is much more user-friendly than what RM has?
The classes themselves are pretty logical, but you need to first understand concepts like "battlers" and "units" and "characters" in order to figure out what kind of things are in there.
Can someone provide an example of some framework or scripting system that provides data in a logical way and is much more user-friendly than what RM has?
The classes themselves are pretty logical, but you need to first understand concepts like "battlers" and "units" and "characters" in order to figure out what kind of things are in there.
I just use the script reference in the help files. Still have to go into each class to see the variables (I'm assuming you're talking about class variables/properties), but I don't see a way of organizing them in a readable format without having them separated like that. A UML diagram maybe.
You cannot find such a list because it would be too big and impracticable. Moreover you mention 'variables that can be used in scripts' which is too large a space to even begin creating automatic or not as you can define your own variables. You can look up the Ruby grammar for a definition, but it probably won't be particularly helpful.
I have attached a variable pathway (subset) to give you an indication of the folly of such a list for humans. (Having an IDE give you context-specific help is a different matter)
Instead, you have to focus on the important aspect of context specific variables pointing to the information you want.
Yes, I am telling you to stop this search and hunt in a different manner. Good hunting.
*hugs*
- Zeriab
variable_path.txt
I have attached a variable pathway (subset) to give you an indication of the folly of such a list for humans. (Having an IDE give you context-specific help is a different matter)
Instead, you have to focus on the important aspect of context specific variables pointing to the information you want.
Yes, I am telling you to stop this search and hunt in a different manner. Good hunting.
*hugs*
- Zeriab
variable_path.txt
Ugh... Thanks
I was hoping this would be easier. I'll be taking this slower than what I thought.
*Hugs*
I was hoping this would be easier. I'll be taking this slower than what I thought.
*Hugs*
I think Zeriab's example is a bit exaggerated since it prints out each array access rather than just indicating that it's an array lol
Or not exaggerated enough depending on how you look at it.
As you mention all variables that can be used then I guess we should consider that new variables could be defined.
The first character of a variable has 53 different possibilities while the consecutive characters can each be one of 63 characters.
This gives us a humongous range with limiting ourselves to just 6 characters still gives us over one billion possibilities.
You will find that an important aspect of software development is complexity management. You do not want to know everything at one. No, rather you should not need to. Instead of a flat list, a much more useful document would describe overall design decision and architecture. It should allow you to drill down into details in a hierarchical manner.
Unfortunately, there is no such documentation, as far as I know at least. Not in English anyway. *looks at Tsu with pleading eyes*
*hugs*
As you mention all variables that can be used then I guess we should consider that new variables could be defined.
The first character of a variable has 53 different possibilities while the consecutive characters can each be one of 63 characters.
This gives us a humongous range with limiting ourselves to just 6 characters still gives us over one billion possibilities.
You will find that an important aspect of software development is complexity management. You do not want to know everything at one. No, rather you should not need to. Instead of a flat list, a much more useful document would describe overall design decision and architecture. It should allow you to drill down into details in a hierarchical manner.
Unfortunately, there is no such documentation, as far as I know at least. Not in English anyway. *looks at Tsu with pleading eyes*
*hugs*
There's always the option of starting such a series of articles on the wiki.
http://rmvxace.wikia.com/wiki/RGSS3
I know Fomar had written a good article that explains the Window hierarchy, though I think that was mainly for people to understand which one they should be inheriting from.
http://rmvxace.wikia.com/wiki/RGSS3
I know Fomar had written a good article that explains the Window hierarchy, though I think that was mainly for people to understand which one they should be inheriting from.
Something like this was what I was looking for.
http://forums.rpgmakerweb.com/index.php?/topic/6248-script-call-equivalent-of-events/page-9
http://forums.rpgmakerweb.com/index.php?/topic/6248-script-call-equivalent-of-events/page-9
Original thread: https://forums.rpgmakerweb.com/threads/list-of-all-variables-for-scripts.18517/