Falcao Pearl 'When item/skill is equipped to toolbar then...'

Trying to figure out a way to run an event when I equip an item or a skill to the toolbar. Searched far and wide.
What do you mean "equip to the toolbar?"


If this is something that's in that script, please post a link to the script so we don't have to go searching for it.


I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
My bad. Sixth gave me the answer.

For skills:
actor_object.assigned_skill == data_skills[ID] # Skill 1
actor_object.assigned_skill2 == data_skills[ID] # Skill 2
actor_object.assigned_skill3 == data_skills[ID] # Skill 3
actor_object.assigned_skill4 == data_skills[ID] # Skill 4

For items:
actor_object.assigned_item == data_items[ID] # Item 1
actor_object.assigned_item2 == data_items[ID] # Item 2

actor_object = Any valid actor object, such as $game_actors[iD] or $game_party.members[index], etc.
$game_actors[12] would be the 12th actor from your database.
$game_party.members[2] would be the 3rd party member in your party.

Replace the 'ID' in the $data_skills and $data_items part for the skill/item ID from the database.

Example:
$game_actors[10].assigned_skill3 == $data_skills[87]This will check if the actor with the ID of 10 got the skill with the ID of 87 equipped or not.

Original thread: https://forums.rpgmakerweb.com/threads/falcao-pearl-when-item-skill-is-equipped-to-toolbar-then.46139/