Hello again good people of the Bethesda Forums,
I'm a fairly novice modder working on my first big quest mod, and for it I'd like a breif action scene of the player falling down an impossibly long fall and landing "safely" in some water. While the level design aspect to the whole moment is nearly complete, I would like to top off the whole scene with two very small scripts, one at the beginning of the fall, and one at the end. Problem is that I've had very little in the way of experience with Papyrus and most of what I've learned has come from deconstructing what I've found in Skyrim. Currently both are attached as scripts to functioning triggerboxes.
For the beginning of the fall, I'd like the player's camera to forcibly move to third person - as the fall is much easier when the player's torch isn't blinding them. For this I've made the following script:
Scriptname AAAForceThirdPersonScript extends game{Idealy force the player's view into third person view. Used for 000BFBMyrtisDarsowsTower3 falling sequence.} event OnTriggerEnter (objectReference triggerRef) Game.ForceThirdPerson() endevent
For the end of the fall, I'd like the player to land into water, and another triggerbox, that will set the player's HP to 1.
Scriptname AAABFBSetPlayerHealth extends ObjectReference {Ideally sets the player's HP to 1 upon trigger activation.}import Game event OnTriggerEnter (objectReference triggerRef) Game.GetPlayer().SetActorValue("health", 1.0) endevent
As a bit of a side note: I have some rocks at the bottom that are having some wierd invisibility issues (presumably because the fall is so long that they aren't loaded properly by the time the player gets to them). The checkbox for trying to force Full LOD doesn't seem to work, however, as it is immediately unchecked once the properties window is closed..?
Thanks for any and all help!