Hello! I am using CGMZ battle command window For some new window options, and I am trying to create an Ultimate type skill that only becomes selectable once a variable is at 3.
As you can see, there are 2 javascript boxes for writing your code: one for the function and one to define when it is selectable.
So what i was planning to do was force action the skill but when i tried it with the attack skill it didnt do anything and just brought me back to the top of the command window. (yes i know i set it to last target but i tried it with random as well. i also did other troubleshooting like changing the actor)
So now i am left with 2 questions:
What is the javascript for enabling the command if a variable hits 3
Why isn't my force action working?
I know the plugin is paid so nobody will look at the code but i think it's just a javascript question, it doesnt have anything to do with the plugin, right?
As you can see, there are 2 javascript boxes for writing your code: one for the function and one to define when it is selectable.
So what i was planning to do was force action the skill but when i tried it with the attack skill it didnt do anything and just brought me back to the top of the command window. (yes i know i set it to last target but i tried it with random as well. i also did other troubleshooting like changing the actor)
So now i am left with 2 questions:
What is the javascript for enabling the command if a variable hits 3
Why isn't my force action working?
I know the plugin is paid so nobody will look at the code but i think it's just a javascript question, it doesnt have anything to do with the plugin, right?