RPG Maker VX Ace
This script allows the developer get more information about the current menu without scripting knowledge.
This script allows the developer to get more information about the current menu skill/item usage without scripting knowledge. It allows you to retrieve information and use it for eventing purposes.
Script Calls:
Call: menu_info_user
Help: This command will get the user of the current action from the menu.
Call: menu_info_used
Help: This command will get the the current action from the skill/item menu.
Call: menu_info_targets
Help: This command will get an array of all the targets of the current action
from the menu.
Notes:
If you want to store the information in a variable, simply use a "Control Variables" event command. Then select the "script" value for the variable and use one of the script calls from above.
These calls would retrieve the actual objects. If you want to get the id or name of the user/skill/item/target you could use one of these:
menu_info_user.id
menu_info_used.id
menu_info_targets.id