AwesomeRomchik Posted December 6, 2018 Share Posted December 6, 2018 I have a follower who I want to have the following magic effect: when the follower dies, he gets resurrected (aka respawn, NOT like resurrect zombie) and the "Reanimate" animation plays with some sounds - after that the follower is "back to normal" as he used to be before he died, he is not a zombie, still a follower after that. What is the best way to make this happen? I think that involves some scripting, which I have never done in CK. Link to comment Share on other sites More sharing options...
SeraphimKensai Posted December 7, 2018 Share Posted December 7, 2018 It's very possible to achieve while scripting. You would essentially need a script to be applied to an ability that you give your follower. The script would have to have an OnDeath event to resurrect your follower, and play your animation. That much seems easy enough to do, but that would essentially bring back your NPC in it's initial state, so you'd want to make the script also record and store the follower's skills and stats (if they are designed to level up or be raised), and also to essentially take the follower's inventory into a temporary holding container, then add it back to the follower after the resurrection (as often times when you resurrect an NPC via papyrus it doesn't save their inventory and goes back to their default inventory). Then you'd need a function for the follower to become your follower again, as it would just be an NPC that hasn't been made a follower yet. So there's a bit of work for you to do, but that's the barebones of what you described above essentially. There's some great resources on creationkit.com to get you started scripting (it's slow going at first but gets easier). Link to comment Share on other sites More sharing options...
Recommended Posts