Making Boss Specification

OK,
I plan to make a special script for my project, where players can challenge the boss just by talking to an event.

So I made a scene that contained a window that contained the specifications of the boss that the players would fight.
and I plan to make special script calls like:
challenge_boss (4)
then the script call will make a window displaying data from enemies that have ID 4.

is it possible to make a scrip call like that?
maybe someone can teach me how to make it.
Few questions since it's in the learning forum.
  1. How far do you know Ruby/RGSS3?
  2. What you've got so far?
Few questions since it's in the learning forum.
  1. How far do you know Ruby/RGSS3?
  2. What you've got so far?
1. I can only create Scenes and windows that contain data from a database. I understand everything in Window_Base. I can make a Script call using Game_Interpreter.

2. I made several scripts that were used for my project. but only limited to Scenes and Window scripts. I only made 3 published scripts namely Custom Encyclopedia, Large Description, and Unskipped Message.
You could, for starters you would get the data like this

Code:
class Game_Interpreter
  def challenge_boss(id)
    boss = $data_enemies[id]
    #Then do whatever you need to do
    #with the data of that enemy
  end
end
Continuing the code above, for example you can do something like this
Code:
class Game_Interpreter
  def challenge_boss(id)
   boss = $data_enemies[id]
   SceneManager.scene.display_boss(boss)
  end
end

class Scene_Map
  def display_boss(boss)
    ....
  end
end
class Scene_Map def display_boss(boss) .... end end

Is Scene_Map the Scene that I use for basic scripts?
if it's like that, then I have to change the Scene_Map in the code above to Scene_Challenge
Is Scene_Map the Scene that I use for basic scripts?
if it's like that, then I have to change the Scene_Map in the code above to Scene_Challenge
Since you mentioned the script calls, the script call happens on the map.
If you want to open up a new scene, use this instead
Code:
SceneManager.call(Scene_Challenge)
Also, you can try to look at the default game interpreter command like how the system call scene shop, scene save, etc
Since you mentioned the script calls, the script call happens on the map.
If you want to open up a new scene, use this instead
Code:
SceneManager.call(Scene_Challenge)
Also, you can try to look at the default game interpreter command like how the system call scene shop, scene save, etc
then how do I create a Conditional Branch that will check the ID that is in the script call?
then how do I create a Conditional Branch that will check the ID that is in the script call?
Pass the ID to the scene, look at how scene shop does it, although it isn't an id, you can do the same trick.
Code:
    SceneManager.call(Scene_Shop)
    SceneManager.scene.prepare(goods, @params[4])
    Fiber.yield
Pass the ID to the scene, look at how scene shop does it, although it isn't an id, you can do the same trick.
Code:
    SceneManager.call(Scene_Shop)
    SceneManager.scene.prepare(goods, @params[4])
    Fiber.yield
Ah! I understand!
The default script is indeed the best place to learn RGSS

Original thread: https://forums.rpgmakerweb.com/threads/making-boss-specification.114145/