Script Call Library (RGSS3)

I have started writing a reference with the purpose of filling in the knowledge gap when it comes to using formulas.

There are a couple tutorials on how to write formulas, but any scripter would know that there are an infinite number of things you can do and you can do a lot of really powerful stuff, and a few simple examples provided in the tutorials just isn't enough.

If anyone would like to share script calls they can contribute to the reference on the VX Ace wiki

http://rmvxace.wikia.com/wiki/Script_Call_Library

Now, the examples shouldn't be redundant.

$game_actors[1] # get actor 1$game_actors[2] # get actor 2$game_actors[3] # get actor 3This is not useful. It's enough to just show an example of how to get an actor with a particular ID.Perhaps it might be nice to say

Code:
$game_actors[$game_variables[2]] # get actor whose ID equals to game variable 2
But I don't think that should be included with every script call. Instead, show how indexing works with a few examples and hope the reader can extend it to other indexing uses.
Be sure to mention that leading zeroes should not be used. Octal digits does change things:
 

Code:
$game_actors[$game_variables[2]] == $game_actors[$game_variables[0002]]$game_actors[$game_variables[17]] != $game_actors[$game_variables[0017]]$game_actors[$game_variables[0049]] # Crash
List of common errors should definitely be there.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-library-rgss3.20069/