**TO CLARIFY** I am aware of this thread of course. But I'm talking about the more obscure stuff that isn't on there. For example, in a previous thread I asked how to get the enemy ID of specific enemies in battle and I got these:
$game_troop.members[0].enemy_id
$game_troop.members.select { |enemy| enemy.enemy_id == 1 }
This is exactly what I needed! But where in the world do you find these things??? How did anyone know this is what you needed to type? Is it hidden in the script editor? The manual? Do I just not understand enough Ruby to figure it out? I don't want to come to the forum and ask for a specific function every single time when, if I knew where to look, I could dig it up myself.
So that's my question. Where do you go to look for these functions to know how to use them yourself?
$game_troop.members[0].enemy_id
$game_troop.members.select { |enemy| enemy.enemy_id == 1 }
This is exactly what I needed! But where in the world do you find these things??? How did anyone know this is what you needed to type? Is it hidden in the script editor? The manual? Do I just not understand enough Ruby to figure it out? I don't want to come to the forum and ask for a specific function every single time when, if I knew where to look, I could dig it up myself.
So that's my question. Where do you go to look for these functions to know how to use them yourself?