Jump to content

NPC level changing papyrus


hfiani

Recommended Posts

hi all, i am at my end of the line, i want to know how could i make a random NPC change it level? obviously skyrim and SKSE did not implement this function in papyrus, it is only available in console commands.

it is very important for my mod to change a NPC level (and i am not talking dynamically as it levels with player or smtg) i really want to change it at will. any ideas is appreciated

 

thanks

Link to comment
Share on other sites

  • 2 weeks later...

I think what you'll need to do is add the actor to the quest script you're using as an Actor Property, then to trigger the event your line should read

ActorProperty.SetLevel(number)
Most (if not all) console commands have their Papyrus equivalents, you just need to phrase it correctly. Hope this helps!
Link to comment
Share on other sites

  • 2 weeks later...

 

I think what you'll need to do is add the actor to the quest script you're using as an Actor Property, then to trigger the event your line should read

ActorProperty.SetLevel(number)
Most (if not all) console commands have their Papyrus equivalents, you just need to phrase it correctly. Hope this helps!

 

 

Rubbish. Like the OP said, there is no "SetLevel" method in Papyrus. The level is set in the CK via the use of leveled actors.

All you can do is to set the npc's individual stats and it's level will automatically increase when the stat values exceeded those required of each level.

npc.SetAv("Health", minHealth)

npc.SetAv("Stamina", minStamina)

npc.SetAv("TwoHanded", minTwoHanded)

etc...

Edited by steve40
Link to comment
Share on other sites

  • Recently Browsing   0 members

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