Pre-made (Yanfly's) Action Sequence Sharing and Discussions

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
731
Reaction score
762
First Language
English
Primarily Uses
RMMV
Putting it in the effect box means action effect is what is calling it.
 

Amenti

*Grandiose*
Veteran
Joined
Mar 28, 2017
Messages
225
Reaction score
279
First Language
English
Primarily Uses
RMMV
Putting it in the effect box means action effect is what is calling it.
So how could I make it happen at the beginning before the spell is initiated? I already tried calling the event from the Note box, but it hasn't worked. Maybe I don't have the tags right.
 

thepsyche

Veteran
Veteran
Joined
Nov 16, 2016
Messages
255
Reaction score
65
First Language
English
Hey everyone,

I'm trying to make a skill that has a chance of applying a state, but I only want a particular animation to play if the state is applied.

Because I'm using an action sequence for the skill, I was wondering how to run a check on the target to see if it has the state applied (after I run the action effect).

How would I do this?

EDIT: Urgh, it annoys me how simple this is. I guess I'm having trouble understanding that if statements are pretty universal.

action effect: target

if target.isStateAffected(10)

animation 164: target

end
 
Last edited:

XD005

Villager
Member
Joined
Aug 8, 2012
Messages
13
Reaction score
0
First Language
English
Primarily Uses
So, I just want to make the characters walk up to the enemies and attack them but somehow enemies end up behind actors and it looks really bad.
I'm using this in the attack skill.


<Setup Action>

motion walk: user

move user: target, FRONT CENTER, 60

wait for movement

motion standby: user

face user: target

</Setup Action>
 

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
731
Reaction score
762
First Language
English
Primarily Uses
RMMV
@XD005
Try this instead
<Target Action>

motion walk: user

move user: target, FRONT CENTER, 60

wait for movement

motion attack: user

Action animation

Wait for Animation

Action effect

</Target Action>
 

Draw

Veteran
Veteran
Joined
Oct 11, 2015
Messages
83
Reaction score
1
First Language
French
Primarily Uses
It is possible to make a state change opacity ?

I use a « stealth » skill with this notetag :

Code:
<target action>



opacity user: 25%, 10



wait for opacity



add state 12: user, show



</target action>

But opacity comes back to default when I use another skill...
 

Dankovsky

Veteran
Veteran
Joined
Nov 26, 2017
Messages
200
Reaction score
151
First Language
RU
Primarily Uses
RMMV
Hello. This is a great thread, but it could use some navigation... It's not very easy finding what you need by reading 75 pages.
Is there a compilation list of premade action sequences somewhere we could use? Thanks a lot.
 

Pots Talos

Veteran
Veteran
Joined
Jun 28, 2012
Messages
95
Reaction score
62
First Language
English
Primarily Uses
RMMV
Using YEP_RowFormation, is there a way to check what row a character is in inside an action sequence?
So that I could create something like:

Code:
if user.isbattler.row(2)
   motion swing: user, no weapon
   wait: 10
   animation 125: target
else
 

thepsyche

Veteran
Veteran
Joined
Nov 16, 2016
Messages
255
Reaction score
65
First Language
English
Would love to know where I've went wrong here.

I'm trying to make a skill that applies a state and follows up with an extra animation when that state is applied to the target in question.

If the target is already affected by the state, the aforementioned extra animation should not play.

Here is my target sequence:

<target action>

if target.isStateAffected(2)

remove state 2: target

end

if target.isStateAffected(10)

action effect: target

wait for animation

wait for effect

else if !target.isStateAffected(10)

action effect: target

wait for animation

wait for effect

animation 164: target

wait for animation

end

death break

</target action>

What ends up happening, is that the extra animation (animation 164) never runs, and I don't know why. I've tried multiple different ways of doing this sequence, using nested elses (using an extra plugin) and using labels, but nothing seems to be following the target action instructions.
 

soldier42424

Warper
Member
Joined
Jan 18, 2017
Messages
3
Reaction score
0
Primarily Uses
Hey there,

This code is the standart attack. but some actors have standart double-attack with two different animations and some just a normal attack

Code:
<target action>
if user.actorId() == 6
motion evade: user
jump user: 50%, 30
move user: target, base, 30
wait for movement
motion swing: user
wait: 10
motion attack: user
wait for animation
action effect
else
motion evade: user
jump user: 50%, 30
move user: target, base, 30
wait for movement
motion attack: user
wait: 10
animation 6: target
action effect
end
</target action>
This Code works fine but i got this error inBattle

Code:
TypeError: undefined is not a function
ACTION SEQUENCE IF CONDITION ERROR
user.actorId() == 6
TypeError: undefined is not a function {stack: (...), message: "undefined is not a function"}
And i hate errors ^^
 

Mjolk

Villager
Member
Joined
Jan 23, 2015
Messages
17
Reaction score
3
First Language
english
Primarily Uses
Hello.

In YEP_ActSeqPack2 POINT function for "move target" has stopped working.

Got this error: undefined is not a function.

Others have the same error?
Maybe from the last update?
 

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
330
Reaction score
110
First Language
English
Primarily Uses
Yes it's a known bug for quite some time now. As a workaround you can use the new OFFSET command to move things around.
 

Punisher699

Veteran
Veteran
Joined
Jul 3, 2014
Messages
85
Reaction score
18
First Language
French
Primarily Uses
I'm using Victor Sant battle engine and currently using the home,here function.it means that actor will set a new home position everytime instead of returning to his home position. Is there an option in yanfly to do so?
Thank you guys
 

ThunderDragon32

Veteran
Veteran
Joined
Mar 25, 2017
Messages
59
Reaction score
1
First Language
English
Primarily Uses
N/A
Special Slash 3: (Note: For Special Slash 3 to look right you need to go into Animation in the database and change its position to 'Center')

<target action>jump user: 800%move user: target, base, 10wait for movementmotion swing: useraction animationwait: 15jump user: 500%move user: forward, 25move user: target, base, 10wait for movementmotion swing: userwait: 15jump user: 500%move user: forward, 100, 3wait for movementmove user: target, back head, 5wait for movementmove user: target, front base, 5motion swing: userwait: 15jump user: 400%move user: backward, 250, 20wait for movementmove user: target, back head, 5wait for movementmotion swing: useraction effectaction effectaction effectaction effect</Target Action>
Copying this code like how it is now doesn't work and I find it hard to make it like it should be for it to work so why is everyone typing it like above?
 

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
731
Reaction score
762
First Language
English
Primarily Uses
RMMV
They're just copy and pasting from the notebox and it formats it weird, like it leaves off the fact that its a line down and I guess ppl are too lazy to fix it.
 

Azymus

Villager
Member
Joined
Mar 28, 2014
Messages
25
Reaction score
1
First Language
english
Primarily Uses
Can anyone help me with the action sequence of pokemon switch style? =[
 

Mjolk

Villager
Member
Joined
Jan 23, 2015
Messages
17
Reaction score
3
First Language
english
Primarily Uses
Edit.
Nothing, I solved.
 
Last edited:

SavageWolf09

Villager
Member
Joined
Jan 24, 2015
Messages
20
Reaction score
5
First Language
English
Primarily Uses
Hi I wanted to make a simple attack animation where if you have a melee weapon the actor will move towards the target then attack and if they have a range weapon they instead stay back and attack. I've figured the melee part with
<Target Action>

MOVE user: target, FRONT BASE, 5

Perform action

Motion user: wait

Action ANIMATION: target

action effect

</Target Action>
But I need help with the range part.
 

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
731
Reaction score
762
First Language
English
Primarily Uses
RMMV
<setup action>display actionimmortal: targets, true</setup action><target action>if user.attackMotion() !== 'missile' move user: targets, front, 20else perform startendwait for movementmotion attack: userwait: 10attack animation: targetwait for animationaction effect</target action>
@SavageWolf09 check the first page of this thread, the second post that Yanfly posted
 

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

Latest Threads

Latest Profile Posts

I picked up For The King in a Humble Bundle sale, and one mechanic that stuck out to me was a physical change to the world map when finishing a side quest. That got me thinking about special map-effect rewards for certain side quests in my game.
Stream will be live shortly with some Witcher 3! Feel free to drop by!
This forum is a great source of procrastination for me.
Today I read "The mouth speaks what the heart is full of." Simple, and reminds me I have a ton of work to do.
Why are cats so darn cute when their tongues are sticking out? If I did that, it wouldn't have the same effect.

Forum statistics

Threads
94,399
Messages
920,665
Members
124,193
Latest member
Oirammm18
Top