Jump to content

Dragon priest activator script


Recommended Posts

I'am hoping someone can help me with this as I'm finding no luck for it.



In the mod I'am currently building i'm hoping to have a stand similar to how the dragon priest masks work to open up and reveal Konahrik Mask, but instead i wish to make my own area/altar that will use instead of masks, swords to be placed and it will reveal a prize/new weapon or open a hidden door.



anyone who can help with how to script it or implementation of how the masks work i would be appreciative.


Link to comment
Share on other sites

You could set it up like i did with my mod. Place X static versions of the swords on the pedestal and set them to be "initially disabled".
Then place X activator objects and place the following script on each of them. In the properties, make sure to rename and point the objectreference on the static sword and it's equivalent weapon version.

http://codepaste.net/u2q2jt
(make sure to replace names etc to make it more organized for ur mod, also autofill the playerREF).

When activated, the script checks if sword A is in the player's inventory, then if present, removes it from the player and activates the sword ref.

Edited by Di0nysys
Link to comment
Share on other sites

thank you for this information, has helped on the setup for the unique items but now i'm Stuck on the next part. making it so once all of them are in place that it will open a door.

 

Would you by any chance know of a way to implement them to do this?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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