Yanfly Action Sequence - Random Skill?

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
Hello :) i want to have actor play a random skill, can someone show me the way to do it?
I think it may be like this
<target action>
var[1] = random(1 to 10)
if var[1] = 1 .....
else if var[1] = 2 ....
else .......
end
</target action>

But i know it's incorrect, can you help me to correct it
 

Jules98

Veteran
Veteran
Joined
Jul 10, 2017
Messages
308
Reaction score
163
First Language
Dutch
Primarily Uses
RMMV
Instead of doing it with action sequences, you should have the skill call up a common event, which can then force a skill depending on the randomized variable.
 

poppicha

Villager
Member
Joined
Aug 30, 2015
Messages
6
Reaction score
2
First Language
Thai
Primarily Uses
RMMV

you can watch this.

I watched it and adapt it to my attack skill

-------------------------------------------------------

this is my random atk action sequence
 

Attachments

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top