Hello, all. I'm using Yanfly's Common Event Menu plug-in to create what is basically a "choose character" menu. Here's a link to the plug-in for those who may not be familiar:
www.yanfly.moe
This plug-in comes with some built-in comment tags you can use to manipulate certain things. For example, you can use:
<Picture: x>
To change what picture is displayed while a certain choice is selected. To use the comment tags, all you do is place them in a common event. I would like to add another comment tag of my own which allows you to manipulate a variable. Maybe something like:
<Variable: [varID], [value]>
That way, I can use a variable to manipulate a sprite that is drawn on screen which corresponds to the currently selected choice. I've been trying for a few hours to edit the plug-in, but I can't get this to work. I would greatly appreciate it if somebody could assist me with this.
I just don't understand how the information in the comment tags is being stored, or how to retrieve it so that I can add a change variable command to the plug-in. I constantly get "undefined" errors. I've even tried to use <Picture: X> tag to manipulate a variable rather than add a new comment tag, but that doesn't work either.
The reason I don't want to use a picture is because I want a walking sprite for each selection to show on screen, and this will be easier to do if I can simply change a variable.