Hello all
In my game I've gone and made this script:
The thing is I've reached the max lines the script window can use and I want to add to it and I don't want to make it into a one liner.
So a solution I saw to this problem was to make a plugin of my own and insert the code there,
problem is.
1. Its using two different Yanfly plugins.
Event Morpher
Self Switches & Variables
2. I don't have any coding knowledge
I am using the template for a plugin from this post - The anatomy of a plugin by Trihan.
so my question is:
Can I simply copy my script call into my makeshift plugin, put the plugin at the bottom of my plugin list and hope it works
or do I need to reference the functions that are comming from this two plugins into my own?
thank you for taking the time to read this.
In my game I've gone and made this script:
Code:
if(this.getSelfSwitchValue(1, 13, 61) === true)
{
var value = this.getSelfVariableValue(1, 13, 21);
this.setSelfVariableValue(1, 13, 21, value - 1)
if (this.getSelfVariableValue(1, 13, 21) <= 0)
{
this.setSelfSwitchValue(1, 13, 61, false)
Yanfly.MorphEvent(13, 4, 5, true);
}
else {$gameSelfSwitches.setValue([ 1, 13, "B"], true)}
}
The thing is I've reached the max lines the script window can use and I want to add to it and I don't want to make it into a one liner.
So a solution I saw to this problem was to make a plugin of my own and insert the code there,
problem is.
1. Its using two different Yanfly plugins.
Event Morpher
Self Switches & Variables
2. I don't have any coding knowledge
I am using the template for a plugin from this post - The anatomy of a plugin by Trihan.
so my question is:
Can I simply copy my script call into my makeshift plugin, put the plugin at the bottom of my plugin list and hope it works
or do I need to reference the functions that are comming from this two plugins into my own?
thank you for taking the time to read this.