I'm trying to learn javascript/Rpgmaker scripting but there's so many issues i don't understand,
i want this test plugin I'm working on to just display a picture when a battle starts
but i have no idea how to "call"/ make rpgmaker check the plugin and execute the code
this works fine in the terminal,
$gameScreen.showPicture(1, "pic", 0, 100, 200, 100, 100, 255, 0);
but I don't know how to make it run in a plugin
here's the full function below
function displayBattleBust()
{
$gameScreen.showPicture(1, "pic", 0, 100, 200, 100, 100, 255, 0);
}
if (SceneManager.currentScene instanceof Scene_Battle)
{
displayBattleBust();
}
also, how do I create parameters that I can change within the rpgmaker plugin menu?
i want this test plugin I'm working on to just display a picture when a battle starts
but i have no idea how to "call"/ make rpgmaker check the plugin and execute the code
this works fine in the terminal,
$gameScreen.showPicture(1, "pic", 0, 100, 200, 100, 100, 255, 0);
but I don't know how to make it run in a plugin
here's the full function below
function displayBattleBust()
{
$gameScreen.showPicture(1, "pic", 0, 100, 200, 100, 100, 255, 0);
}
if (SceneManager.currentScene instanceof Scene_Battle)
{
displayBattleBust();
}
also, how do I create parameters that I can change within the rpgmaker plugin menu?