Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Is it possible to give instructions on how to add it to the menu via the visustella menu manager, I would ideally have it in a sub menu

Hi Blade, sure, here are the ways to do it:

First, you must set the option in the parameters to false: [Show in menu]

Then you must create the menu in your plugin and trigger the command via script. We have two options:

1. To open for the Party Leader
Use this code (Script Call):

// Sets the menu actor as the current leader
$gameParty.setMenuActor($gameParty.leader());
// Opens the Skill Tree sceneSceneManager.push(Kadajah_SkillTree.Scene);
SceneManager.push(Kadajah_SkillTree.Scene);

2. To open for a specific Actor (by ID) If you want to force the opening for a specific character (for example, Actor 1), use:
Use this code (Script Call):

// Replace 1 with the ID of the desired character
var actor = $gameActors.actor(1);
$gameParty.setMenuActor(actor); SceneManager.push(Kadajah_SkillTree.Scene);

Does this work for you?