Help with Yanfly action sequence

Discussion in 'RPG Maker MV' started by Waterub8, Aug 19, 2017.

  1. Waterub8

    Waterub8 Villager Member

    Messages:
    19
    Likes Received:
    0
    First Language:
    English
    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?
     
    #1
  2. jerrypylant

    jerrypylant Eventer Veteran

    Messages:
    110
    Likes Received:
    53
    Location:
    Alabama. USA
    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.
     
    #2
    Jeremiah Eastman likes this.
  3. Waterub8

    Waterub8 Villager Member

    Messages:
    19
    Likes Received:
    0
    First Language:
    English
    oh thank you for the help.
     
    #3
  4. Waterub8

    Waterub8 Villager Member

    Messages:
    19
    Likes Received:
    0
    First Language:
    English
    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>
     
    #4
  5. jerrypylant

    jerrypylant Eventer Veteran

    Messages:
    110
    Likes Received:
    53
    Location:
    Alabama. USA
    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.
     
    #5
  6. Waterub8

    Waterub8 Villager Member

    Messages:
    19
    Likes Received:
    0
    First Language:
    English
    I think the problem is that my computer seems to be skipping a few frames when animation 124 is supposed to play.
     
    #6
  7. Waterub8

    Waterub8 Villager Member

    Messages:
    19
    Likes Received:
    0
    First Language:
    English
    well it wasn't skipping any frames but I got it to work now.
     
    #7
  8. jerrypylant

    jerrypylant Eventer Veteran

    Messages:
    110
    Likes Received:
    53
    Location:
    Alabama. USA
    First Language:
    English
    Primarily Uses:
    N/A
    If you run into anymore problems don't hesitate to ask.
     
    #8

Share This Page