How to know which actor our player chose in the item’s menu and save it as a variable, using the game data section?
This is to put the skill tree mechanics into an rpg I'm developing.
The "simplest" way would be to create an invisible target state (no icon, no messages, no effect) and have the item place that as an additional effect, then attach a common event that checks all actors to which has the state before removing it and doing whatevery you want to do with that information.
if that isn't possible then you need to look into plugins - only MZ had that added as a engine default, that function does not exist yet on MV.