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

Discussion in 'Javascript/Plugin Support' started by Blue001, Oct 24, 2015.

  1. bruciebrucebru

    bruciebrucebru Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    engish
    Primarily Uses:
    RMMV
    I'm trying to run a common event through sequencing. And all though I've pulled it off easily about a hundred times, I cant get a common event to run during "turn 0" (Troops, battle event, conditions) The action sequence runs through to the end, THEN the common event runs. Any idea's as to why?
     
  2. BaronVampson

    BaronVampson Veteran Veteran

    Messages:
    31
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMMV
    Trying to create a 'shake' effect on battlers when hit.

    Code:
    <target action>
    action effect
        move targets: forward, -420, 5
    wait: 10
        move targets: forward, 420, 5
    wait: 10
        move targets: forward, -310, 5
    wait: 10
        move targets: forward, 310, 10
    wait: 10
        move targets: forward, -200, 5
    wait: 10
        move targets: forward, 200, 5
    wait: 10
        move targets: forward, -90, 5
    wait: 10
        move targets: forward, 90, 10
    wait: 10
    </target action>
    The above creates a large pause after the first movement and I have no idea why
     
  3. evervrisko

    evervrisko Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    english
    Primarily Uses:
    RMMV

    I kinda suck at scripting, how do i get this to work like space it out and all my brain isnt that big :'(
     
  4. SavageWolf09

    SavageWolf09 Villager Member

    Messages:
    9
    Likes Received:
    1
    Location:
    United States
    First Language:
    English
    I'm i'm trying to use yafly's attack skill from the first page. yet it's not spaced properly and tryed to work it out myself. yet it's still not working. can anyone tell me where i'm going wrong at. thank you.
    <setup action>

    display action

    immortal: targets, true

    </setup action>

    <target action>

    if user.attackMotion() !== 'missile'

    move user: targets, front, 20

    else

    perform start

    end

    wait for movement

    motion attack: user

    wait: 10

    attack animation: target

    wait for animation

    action effect

    </target action>
     
  5. Janus31

    Janus31 Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    Hi guys, im super noob on RPG Maker MV, so far i'm working in a project. Right now i'm trying to set an event where the NPCs go to sleep at Game Night and reappear at day, i try with several way i know but without success, if some one have a key about how can i do this will be great.
    So far i set a parallel process in event page 1 (conditional branch if and else: if hours is ≥ 16 call a switch that disappear the NPC and else go to another switch that let the NPC walking around and interacting with the actor,
     
  6. Kes

    Kes Global Moderators Global Mod

    Messages:
    18,384
    Likes Received:
    9,488
    First Language:
    English
    Primarily Uses:
    RMVXA
    @Janus31 Your question has absolutely nothing to do with Yanfly's plugin. Please post a separate thread in MV Support. Include screenshots of your event page, because we need to see what you have done in order to see where errors may lie.
     
  7. SanZhang

    SanZhang Freelancer Member

    Messages:
    17
    Likes Received:
    21
    Location:
    Endless Land
    First Language:
    Indonesia
    Primarily Uses:
    RMMV
    Greetings..
    I've noticed that you've added a space between the bracket and the exclamation mark as well as before the 'missile' on this script

    if user.attackMotion() !== 'missile'


    the correct one for this is:
    if user.attackMotion()!=='missile'

    the rest seems fine..
    I hope it helped.

    Best regards!
     
  8. Janus31

    Janus31 Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    Thank you for your answer!
     

Share This Page