animation code?

MauricioEsp

Villager
Member
Joined
Jun 25, 2016
Messages
23
Reaction score
2
First Language
spanish
Primarily Uses
Hello everybody! I want to ask you if there is a predeterminated code to paste on the ability notes, because I want to make that my players get near of the enemy to perform an animation.

I have this code:


<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>


The problem with this code is, when the player gets near of the enemy, it doesn't perform an animation, just a simple hit animation and  a stab movement... They don't do the animation that I specified on the ability configuration. Is there a problem with the code? why can't they perform an animation when they get near? greetings and apologize for any inconvenience.
 

Skunk

Melody Master
Veteran
Joined
Mar 2, 2013
Messages
1,067
Reaction score
383
First Language
English/Slavic
Primarily Uses
RMMV
Id recommend getting this question over here:
 

MauricioEsp

Villager
Member
Joined
Jun 25, 2016
Messages
23
Reaction score
2
First Language
spanish
Primarily Uses
Ok, i proceed to repost this question there, Thank you :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
29,230
Reaction score
6,774
First Language
German
Primarily Uses
RMMV
I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.


MV Deployment is when you have finished your game and need help to deploy to mobile or whatever
 

MauricioEsp

Villager
Member
Joined
Jun 25, 2016
Messages
23
Reaction score
2
First Language
spanish
Primarily Uses
Ok, sorry, i Didn't know that. Thanks for the information and sorry for bother you.
 

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
330
Reaction score
110
First Language
English
Primarily Uses
I'll lay it out as best I can because when I started I was confused with this as well:


<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  <------ This tells it to use the basic attack animation for your attack


wait for animation


action effect


</target action>


So try this instead, replacing the animation number with whichever you wish to use:

<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


animation 21: target


wait for animation


action effect


</target action>


Or if you choose to not use animation IDs but just the one you've specified, you could do this:



 



<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


action animation: target


wait for animation


action effect


</target action>




Hopefully that helps.
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

I'm sorry about earlier. I have the most hate and the most love for my art at the same time. Felt bad about my thread because I wasn't listening, and because I made it out of a bad mindset to begin with. S'another Thursday for me.

The main character of the book)
Things you can say about your rpg maker project but not your bf/gf: I'm not super committed but it's fun to play around with it.
putting a puzzle in my game that BSODs the player's computer if they complete it

Forum statistics

Threads
94,368
Messages
920,338
Members
124,134
Latest member
scrollstorm
Top