Jump to content

Trying to figure out how to make a sacrifice altar. Help?


CrisSpiegel

Recommended Posts

Try to imagine this: you have a closed door, an altar and a lever. Also a corpse of some enemy. You grab the corpse and drop it at the altar. Then you push the lever, fires burn the corpse and the door opens.

 

The thing is, how do I detect there is a dead actor at the altar? Is there a function or script that detects what is inside a primitive? It's not a specific corpse, it just needs to be dead. Can it be done?

 

Thanks for the attention and hope someone is able to help me.

 

 

http://i.imgur.com/5ksI8eR.png

Link to comment
Share on other sites

I think you can use OnTriggerEnter() for dead actors. This in turn can flip a global variable (or a boolean script property) which allows the lever to open the door. I seem to recall there was a script doing something similar in the Dragonborn expansion. In the dungeon where you fight Valok the Jailor.
Link to comment
Share on other sites

I believe the Dragonborn DLC has a dungeon tat does exactly this. I remember having to drop a corpse into a fire pit to open a door... Afraid i can't remember the name of the dungeon. =( Google Provides!

http://elderscrolls.wikia.com/wiki/Lost_Legacy#Vahlok.27s_Tomb

 

Edit:

Silly me...i didnt notice someone already mentioned that dungeon... :blush:

Edited by Urwy
Link to comment
Share on other sites

Oh, yes! That's quite similar to what I had in mind, but with a fundamental difference. In Vahlok's Tomb, the body triggers the opening of the doors. My idea was to have a body in place and then trigger the opening of the door by using a lever.

 

Still, that made me go back and stick to the corpse-dragging puzzle. So what did I do to make it work? Simple: copied the puzzle from Dragonborn! :tongue: :tongue: :tongue:
But still with a difference: the trigger accepts the living! :devil: :devil: :devil:

 

I still have problems to overcome. Right now it's not triggering with corpses. Living creatures are cool, but if the player kills all the enemies in that area, there will be noone to be thrown to the pit.

 

This means work to be done. Thank you, guys. Your help was awesome.

 

EDIT: Sometimes the stuff doesn't work properly. Creatures fall and the door will not open. Maybe I should work with states, but never got the hang on that. It seems I have to prevent redundancy by going to an empty state, but why gotostate() comes before other functions and not after?

 

EDIT2: Man, this is perfect!! I don't need to use corpses to trigger it! I'll just make it so it will work with living actors and leave Reanimate Corpse scrolls in a chest in another room! If the player leaves no living enemy remaining, he can reanimate and sacrifice them! He can even use the goat!!

Thank you guys! You've been awesome!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...