I'm implementing a projectile system using VE_Throwable Objects, YEP Action Sequence. The idea is that enemies will throw an object (In this case an assigned image as the projectile, then shoot it to the player.).
The player will have a window of opportunity, this is showed by either an '!' mark above their head, or something else if it's not possible. Pressing a button at that moment plays an attack animation that deflects the projectile and damages the enemy instead, the damage is of course from the enemy stats.
Now, how do I do this exactly? What Action Sequence do I use?
I've already implemented the QTE system though, as well as the projectile system. But I haven't combined them yet. As in the enemy will throw the projectiles but you can't deflect it back to the enemy and damaged them
(Just to be specific)
if you have a time attack, there should be something when enemy attacks,
you could do a QTE before hand if it's succeeded or failed, if succeeded,
enemy attack, and deflect it to the enemy, otherwise, the player get dmged
with the attack.
midway might be harder to do though.
if you have an actionSeq by YEP, I think you can use lunatic code in the notebox.
but I dont know how to approach it as I dont know how to approach that.
I dont deal with dmg formula on my end yet.
there are some, but I dont know if they know the other 2 plugins,
but there are some that knows how to use it.
there is also YEP tip and tricks site with lunatic code.
you can pick one that is the closest to what you want and alter
the code from that part.
when things are to specific, people that know lunatic code can
help you out 🙂
I wish you good luck, because this seems interesting mechanic though.
Can't you use basic action sequences to create the projectile, launch it at player, show an exclamation mark animation and use if button is pressed in 30 frames -> path 1 (new projectile going towards enemy) / else -> path 2 (damage player)?
Ok, noticed that for MV action sequence projectiles you seem to need Action Sequence Impact, which is a paid plugin. Don't know if/how you use other plugins in action sequences.