Hello, hopefully a fairly simple question, but after years in RGSS, I can't wrap my head around JS.
I'm using this plugin in order to do some stat distribution. I don't mind the actual distribution being done through the menu, but the ability to 'Reset' the Stat Distribution will actually have some other application, and as such, I would like it to be done through an Event, rather than through the menu.
Line 822 has the command window properties, including the commandClear which seems to be the ticket.
That leads to the actual function which is on Line 867 to clear out the Actor's Stat Distribution points.
Problem is, I cannot for the life of me figure out how to use the 'Script...' Event command to actually run that function for a specific Actor. (really, it'll ever only be Actor 1, if that helps).
If anyone can take a look and provide some insight, I would greatly appreciate it. Hopefully it's just a quick and easy script call and I'm just missing the forest for the trees, here.
I'm using this plugin in order to do some stat distribution. I don't mind the actual distribution being done through the menu, but the ability to 'Reset' the Stat Distribution will actually have some other application, and as such, I would like it to be done through an Event, rather than through the menu.
Line 822 has the command window properties, including the commandClear which seems to be the ticket.
That leads to the actual function which is on Line 867 to clear out the Actor's Stat Distribution points.
Problem is, I cannot for the life of me figure out how to use the 'Script...' Event command to actually run that function for a specific Actor. (really, it'll ever only be Actor 1, if that helps).
If anyone can take a look and provide some insight, I would greatly appreciate it. Hopefully it's just a quick and easy script call and I'm just missing the forest for the trees, here.