Hello Everyone I'm working on a game but I need actors to lear skills based on drops from monsters or key items present on the inventory.
EX: Actor 1 does not know skill A, Monster drops Item A, Item A is not usable and just stays on inventory, Actor 1 learns Skill A and is able to use it as long as the item is on the inventory.
As a side note I'm using VS plugins if that helps and that is already possible using their plugins
It sounds like you just need to check for a certain item in the inventory, and after that it's done. Essentially, the item is acting as a switch. There are a few ways you can do this:
Have an event on every map where the item can be picked up, with the first page blank, the second page (activated when the item is in the inventory) running an autorun event that adds the skill before flipping a self switch, and the third page (activated by the self switch) blank. (this would probably be the best implementation if the skill is learned as soon as the item is acquired)
Or
Have a common event that goes through a list of conditional statements checking for the item and adding the skill if the item is present (this would probably be the best implementation if the skill is learned after activating a trigger while the item is in the inventory. E.g. an inventory item, an NPC, or a static terminal). You could also have it run as a parallel event, but be careful with those--they can slow down your game.
I see thank you both for the answers this can be closed as solved