Help with action sequences.

SabreonD

Warper
Member
Joined
Dec 12, 2019
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hello all,

I am pretty new to both the software and programming in general and I'm having a little trouble with a very simple Yanfly action sequence... Embarrassingly simple actually. One character i have been working on a character with a skill set based in "Boxing". My first skill is a simple 2 punch combo. Was just looking for the character to walk up to the target, throw two punches (Using the thrust motion and glove weapon) and return home.

<setup action>
Display action
Immortal: target, true
perform start
</setup action>

<target action>
move user: target, front base, 10
motion attack: user
wait 10
attack animation: target
wait for animation
action effect
motion attack: user
wait 10
attack animation: target
wait for animation
action effect
</target action>

<Finish action>
move user: home, 10
clear battle log
immortal: target, false
</finish action>

Maybe it is just late, but I am clearly missing something because when tested the character doesn't move and also does not use the attack motion. Instead it appears to do the cast animation then deal damage. Any help would be appreciated. Thanks in advance!
 

Aesica

undefined
Veteran
Joined
May 12, 2018
Messages
1,531
Reaction score
1,424
First Language
English
Primarily Uses
RMMV
First of all, you don't have to specify the setup and finish action sets unless you're doing something special with them, which you don't appear to be doing. Anyway, here's the mistakes I see at a glance:

  1. Your wait commands are missing the colon and should be -- wait: 10
  2. attack animation: target should be action animation: target
 

Touchfuzzy

Rantagonist
Staff member
Lead Eagle
Joined
Feb 28, 2012
Messages
7,303
Reaction score
8,928
First Language
English
Primarily Uses
RMMZ

I've moved this thread to Javascript/Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top