NYKevin Posted October 5, 2019 Share Posted October 5, 2019 I'm trying to figure out how vanilla (and Sacrosanct etc.) go about restoring the player's armor when they revert from Vampire Lord form (because I want to figure out what the player was wearing before they transformed in a Papyrus script, and I assume that data has to be stored somewhere). So I unpacked Sacrosanct and Dawnguard and dug through their sources. Both of them check the player for a number of specialized vampire rings and amulets before unceremoniously calling PlayerActor.UnequipAll(), and don't appear to bother trying to "remember" what the player had on otherwise, so that's unhelpful. Meanwhile, the revert logic never re-equips anything, as far as I can tell. I did find this rather... interesting comment in the vanilla source of DLC1PlayerVampireChangeScript.psc ; gimme back mah stuff ; We don't need to do this here. DLC1PlayerVampireScript.psc will restore ; all items previously equipped using the PopEquippedItems call.Unfortunately, this comment appears to be a blatant lie, for several reasons: I read DLC1PlayerVampireScript.psc very thoroughly, and it does not re-equip anything. I did a "find in files" for PopEquippedItems and this was the only hit across all three DLCs (plus base Skyrim). Google has never heard of it either.So... Is this just done automatically by the engine somehow, or did I miss a script somewhere? (More importantly, what is the most bulletproof way to figure out the player's un-transformed attire from Papyrus?) Link to comment Share on other sites More sharing options...
Recommended Posts