Carreau Posted January 20, 2018 Share Posted January 20, 2018 So, I'm working on a mod where a craftable melee attachment allows for the player to knock a power armor user out of their armor. So far, it's working well enough. The one thing I've ran into is dealing with the animation as the target exits the power armor. Since this is a melee attack, I was going to push the actor away from the armor like they were blown out of it, but the animation for getting off the power armor gets in the way. If(akTarget.isInPowerArmor()) akTarget.SwitchToPowerArmor(none) Utility.wait(1.0) akTarget.PushActorAway(akTarget, 50.0) akTarget.EvaluatePackage() Else debug.trace("Target is not in Power Armor.") EndIf For PushActorAway(), I've messed with a few different settings, and this setting at least gets the actor to flop a few feet from the base of the armor. The downside is that if somehow the animation of exiting does get interrupted, they get launched. So it would be easier to interrupt the animation via script, but I don't know how to do that, if it's even possible. Anyone got some ideas? Link to comment Share on other sites More sharing options...
Recommended Posts