So I was wondering if someone could make a script that would make the players click at a certain time to attack. At a certain point on the wheel/line, wherever they clicked (or pressed enter) would be a miss, an attack, or a critical attack. I want something like this:
You could do both with some eventing skills :3
In your battle, just create your wheel image, and your arrow image
Make your image rotate at a certain speed
Then do this:
Start of the loop:
If screen.pictures[x].angle >= y then
Process like if the arrow missed and rotated too much (x being the picture ID and y the minimum angle the pic should have to be considered off limits)
If C buttoon is pressed then
Process action depending on the angle of pictures a bit like this:
If screen.pictures[x].angle < y then
If screen.pictures[x].angle > y- whatever number
Elsif screen.pictures[x].angle > y- whatever greater number
And so on
End of loop
That should do the trick
For the other picture, not being a wheel, just check for X or y instead.
If you want your wheel to be unlimited, just remove the first part
If you want a Time limit, just create a var where you will set how many frames you want the thing to last, and add this (you var being T)
If T > 0
Substract 1 from T
If you want your arrow to go back and forth, just play with switches, having a "Right?" switch activated. If it is, then move the image to the right, when it reaches a certain X, deactivate the switch, and add another part that will then be activated, and that will move the arrow left.
I just successfully tested having events check if specific actors are in a particular party slot and then changing image to match. This will let me make scenes take into account who is in the party at the time and arrange them accordingly - this is important since I'll have extra actors beyond current party. The script used is the same from MV and is compatible with my current core plugin setup in MZ. Thank goodness.