Action Sequence That Works Like Knight's Code

MacheteLove

Villager
Member
Joined
Feb 16, 2014
Messages
27
Reaction score
5
First Language
English
Primarily Uses
Hello!
There is a relic in Final Fantasy VI called Knight's Code.
If you aren't familiar with it, basically if an actor has it equipped and one of the actor's on their team is close to death and being attacked. The actor will jump in front of the attack and take the hit for himself.
I have a character with the ability to summon his wolf pet, I would like it very much if whenever the actor who controls the wolf is badly hurt.. the wolf would take the blow for him. Sort of a sign of loyalty between the wolf and his master.
If anyone could walk me through how to do this it would be amazing.
Thanks in advance!
 

chungsie

Veteran
Veteran
Joined
Sep 9, 2015
Messages
656
Reaction score
857
First Language
English
Primarily Uses
N/A
what engine are you using? I think I have an idea for how it could work in ace maybe
 

Jeremiah Eastman

Gladiator
Veteran
Joined
Apr 24, 2017
Messages
510
Reaction score
315
First Language
English
Primarily Uses
RMMV
Hey there, I haven't made anything like you're asking for but I may know a plugin, that I haven't used,:smile: that may help out here. I was thinking if you use Yanfly's Absorption Barrier It may be doable. With that I'd start with making a state that contains the info. The state would have the barrier point amount that the wolf can absorb, then add some sort of "if player hp is >= 20%" or something like that apply state. That would probably cover the mechanics of it. As for the animation, the barrier points run off of animations so you could make a custom wolf in front of you getting hit animation and switch the barrier point animation to that. I'm sure there's probably more ways to do it but there's one that I came up with. Hope it helps out, and good luck.:smile:

Here's a link to the plugin if you want to take a look
http://yanfly.moe/2016/02/13/yep-70-absorption-barrier-rpg-maker-mv/
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

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.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,584
Latest member
Faustus2501
Top