Help with Yanfly action sequence

Waterub8

Villager
Member
Joined
Jan 25, 2016
Messages
19
Reaction score
0
First Language
English
Primarily Uses
I need help with an action sequence i'm working on using Yanfly's plugins for it. I was trying to make an attack where the person who uses it jumps up with an attack and then comes down for a second attack. But the thing is when i try to test it the game crashes at the part for the character is supposed to do the first attack as such I can not move forward with the animation here is
The Code:
<setup action>



display action



camera focus: user

zoom: 150%, 20

camera offset: right, 50



immortal targets: true



</setup action>

<target action>

move user: targets, front, 20



wait for movement





motion swing:user

jump user: 300, 120

animation 124: target

wait for animation







</target action>

That is all I have so far, so can someone help me with this?
 

jerrypylant

Eventer
Veteran
Joined
Oct 21, 2012
Messages
110
Reaction score
55
First Language
English
Primarily Uses
N/A
The reason you get an error is because you didnt put a space in "motion swing: user.

also, when you are wanting the damage to take affect you have to put "action effect".

i also fixed some other things for you, make sure to turn immortal targets off at some point.(immortal: targets, false)

I put in some wait: commands to make it look more fluid.
<Setup Action>

display action

camera focus: user

zoom: 150%, 20

camera offset: right, 50

immortal: targets, true

</Setup Action>



<Target Action>

move user: targets, front, 20

wait for movement

motion swing: user

wait: 5

action effect

wait: 20

jump user: 300, 120

wait: 110

motion swing: user

wait:10

animation 124: target

action effect

wait: 15



wait for animation

</Target Action>



<Finish Action>

immortal: target, false

clear battle log

</Finish Action>



If you need help with any other sequences feel free to message me.
 

Waterub8

Villager
Member
Joined
Jan 25, 2016
Messages
19
Reaction score
0
First Language
English
Primarily Uses
oh thank you for the help.
 

Waterub8

Villager
Member
Joined
Jan 25, 2016
Messages
19
Reaction score
0
First Language
English
Primarily Uses
The reason you get an error is because you didnt put a space in "motion swing: user.

also, when you are wanting the damage to take affect you have to put "action effect".

i also fixed some other things for you, make sure to turn immortal targets off at some point.(immortal: targets, false)

I put in some wait: commands to make it look more fluid.
<Setup Action>

display action

camera focus: user

zoom: 150%, 20

camera offset: right, 50

immortal: targets, true

</Setup Action>



<Target Action>

move user: targets, front, 20

wait for movement

motion swing: user

wait: 5

action effect

wait: 20

jump user: 300, 120

wait: 110

motion swing: user

wait:10

animation 124: target

action effect

wait: 15



wait for animation

</Target Action>



<Finish Action>

immortal: target, false

clear battle log

</Finish Action>



If you need help with any other sequences feel free to message me.
Well um i do need more help with this. The original plan i had in mind had two different animation 124: being the attack going and animation 125: being the attack going down. So I modified the code to use 125 being the attack going down and that worked but I then modified the code to make 124 the animation for the first attack but the problem is animation 124 won't play.
The New Code:
<Setup Action>



display action



camera focus: user



zoom: 150%, 20



camera offset: right, 50



immortal: targets, true



</Setup Action>







<Target Action>



move user: targets, front, 20



wait for movement



motion swing: user



wait: 5



animation 124: target



action effect



wait for animation



jump user: 300, 120



wait: 110



motion swing: user



wait:10



animation 125: target



action effect



wait: 15







wait for animation



</Target Action>







<Finish Action>



immortal: target, false



clear battle log



</Finish Action>
 

jerrypylant

Eventer
Veteran
Joined
Oct 21, 2012
Messages
110
Reaction score
55
First Language
English
Primarily Uses
N/A
Animation 124 and 125 are working for me, so its probably something to do with your 124th animation.
 

Waterub8

Villager
Member
Joined
Jan 25, 2016
Messages
19
Reaction score
0
First Language
English
Primarily Uses
Animation 124 and 125 are working for me, so its probably something to do with your 124th animation.
I think the problem is that my computer seems to be skipping a few frames when animation 124 is supposed to play.
 

Waterub8

Villager
Member
Joined
Jan 25, 2016
Messages
19
Reaction score
0
First Language
English
Primarily Uses
Animation 124 and 125 are working for me, so its probably something to do with your 124th animation.
well it wasn't skipping any frames but I got it to work now.
 

jerrypylant

Eventer
Veteran
Joined
Oct 21, 2012
Messages
110
Reaction score
55
First Language
English
Primarily Uses
N/A
If you run into anymore problems don't hesitate to ask.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Made Custom ENEMY Information Screen
I'm having such a hard time thinking of an interesting battle system. and not being a coder, certain things I wanna do seem a lot harder lol.
Created a character outline with some code. I have no use for this. I'm....bored.....
Having lots of fun using different PS brushes to add a lil' texture to the floors and walls in my maps.

Forum statistics

Threads
93,721
Messages
914,912
Members
123,324
Latest member
ahmbor
Top