Hi
After more than 1 year not touching CK and Skyrim, I decided to come back.
And I started a mod, with a great dongeon, and all, but I'm stopped like a noob in one thing :
I created a deep well, with fire deep inside. I plane to turn it into a "sacrifice pit'. The first thing coming to my mind is a reanimated body the player will kill / release, and drag into the well.
When the body made its way through the well, a script should be able to detect that a dead body entered in collision with something (a collision place just under the flames in the well, maybe ?), delete the body (in order not to fill the well lol), and that would add some hidden object (for a count) or an INT value maybe, I don't know yet. When the player would have enough, it will be quested something like he can craft some devil weapons or I don't know yet.
But I'm not used anymore to all those things, and I must restart my papyrus and CK scholarship from a basic level ^^
By the way, obioviously, I thought to verify first if the body hitting the deep is an essential NPC still alive, it would spit him it (like just a movetoplayer will be enough), and saying thing like "the well doens't want that". But this... I think I would be able to do it alone (unless someone does it before lol)
Does someone have an idea how to do this collision detection thing ? Or doing it another way to detect a dead body in the deep of the well ? I thought to OnHit, but that is only for a wepon hit, right ? Not for a dead body hitting a collision plane ?
I make it shorter, for the one who maybe didn't understand all of my speech :
- I have a deep well.
- I want to drag dead bodies inside.
- The bottom of the well must detect when anything is reaching (a dead body, an enssential actor, an objetc).
--> dead bodies will be deleted and add something to a variable.
--> essential NPC will be teleported to the player again.
--> objetcts will simply be deleted.
--> Quest Objects (I don't know if the player is able to drop some of important items in the game) will be added to the inventory again.
I'm just stopped now by the "detecting what enter collision with the bottom"
And sorry for my bad english, not native