Coding Troubles

LightDiviner

That Guy With Lots of Ideas
Veteran
Joined
Jul 2, 2017
Messages
197
Reaction score
68
First Language
English
Primarily Uses
RM2k3
So, I'm trying to code a skill with the Yanfly Battle Core Engine. I kind of have it working, but for some reason, it does the normal attack first, then after the normal attack, it uses my coded version. Could someone help me find out what I did wrong?

<Target Action>

immortal: targets, true

perform action

motion wait: user

action animation

wait for animation

action effect

action effect

action effect

action effect

action effect

action effect

action effect

action effect

action effect

action effect

action effect

action effect

action effect

action effect

immortal: targets, false

</Target Action>
 

LightDiviner

That Guy With Lots of Ideas
Veteran
Joined
Jul 2, 2017
Messages
197
Reaction score
68
First Language
English
Primarily Uses
RM2k3
And yes it's meant to be an ultimate attack of death, that's why there are so many action effect's
 

OnslaughtSupply

Ssshhh...
Veteran
Joined
May 14, 2017
Messages
731
Reaction score
764
First Language
English
Primarily Uses
RMMV
Why is perform action there? Also what is your setup action? My guess would be to remove perform action. Also your animation will play completely before any effect is applied and it would mean alot of standing there while damage or whatever played, might I suggest a
action animation
wait: 20 (or however long you want)
action effect
action effect
action effect
action effect (as many as you want)
wait for animation
 

LightDiviner

That Guy With Lots of Ideas
Veteran
Joined
Jul 2, 2017
Messages
197
Reaction score
68
First Language
English
Primarily Uses
RM2k3
Why is perform action there? Also what is your setup action? My guess would be to remove perform action. Also your animation will play completely before any effect is applied and it would mean alot of standing there while damage or whatever played, might I suggest a
action animation
wait: 20 (or however long you want)
action effect
action effect
action effect
action effect (as many as you want)
wait for animation
I'm still new to the whole coding thing.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

@LightDiviner , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


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

 

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
344
Reaction score
124
First Language
English
Primarily Uses
immortal target arguments and perform start should be placed in <setup action> and <finish action> headers. (perform action is the same as action effect if i remember correctly). So to break yours down you would build it like so:

<setup action>
perform start <- this is to move the user forward
immortal: targets, true
</setup action>

<target action>
action animation
wait for animation
action effect
action effect
action effect
action effect
(... and so on for number of hits)
</target action>

<finish action>
perform finish <- this returns the user home
immortal: targets, false
</finish action>

Also if you follow the link in my sig, I build action sequences for members who make requests and try to help others achieve their ideal sequences providing either complete action sequences or general help if they choose to try to build them on their own. You are welcome to post some questions on specific sequences in the thread there or if you need more generalized help, you can also PM me and I will do my best to assist.
 

LightDiviner

That Guy With Lots of Ideas
Veteran
Joined
Jul 2, 2017
Messages
197
Reaction score
68
First Language
English
Primarily Uses
RM2k3
immortal target arguments and perform start should be placed in <setup action> and <finish action> headers. (perform action is the same as action effect if i remember correctly). So to break yours down you would build it like so:

<setup action>
perform start <- this is to move the user forward
immortal: targets, true
</setup action>

<target action>
action animation
wait for animation
action effect
action effect
action effect
action effect
(... and so on for number of hits)
</target action>

<finish action>
perform finish <- this returns the user home
immortal: targets, false
</finish action>

Also if you follow the link in my sig, I build action sequences for members who make requests and try to help others achieve their ideal sequences providing either complete action sequences or general help if they choose to try to build them on their own. You are welcome to post some questions on specific sequences in the thread there or if you need more generalized help, you can also PM me and I will do my best to assist.
Cool, thanks. To be hoenst I was trying to make an attack sequence for Neutral 3...but looking at it now I don't think it fits.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top