Jump to content

Any Easy Way to Temporarily Ignore the Player's Armor, Perks and Stats?


Recommended Posts

I've got a script going that would require all the players stats be irrelevant and only use a set of predefined stats. I was going to use a function like:

ActorValue Property Health Auto
float PlayerPreviousHealth
float PlayerNewHealth

PlayerPreviousHealth = PlayerRef.GetValue(Health)
PlayerRef.SetValue(Health, PlayerNewHealth)

;Do stuff

;then when the script is over
PlayerRef.SetValue(Health, PlayerPreviousHealth)

But doing that for every single actor value, making sure all armor is unequipped and then re-equipped, storing and dispelling, then reapplying all afflictions, and then storing and removing every player perk and then reapplying them would be a huge script and I'm wondering if there's a simpler way. This already involves a race change before the irrelevant stats stage in case there's a way to use that.

Edited by ZerasCETA
Link to comment
Share on other sites

  • Recently Browsing   0 members

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