Jump to content

Link carryweight and stamina


arcinhosenka

Recommended Posts

I think this would be a rather simple mod, but I have no clue how to implement it and CK crashes on startup. Could someone give me an .esp that would set your carry weight to a value equal to your maximum stamina on a condition, e.g. every time you leave perk screen and\or inventory screen?

Link to comment
Share on other sites

something something give a man a fish, something something teach a man to fish.

 

Get Ck, make a constant effect script magic effect and add the following script to it.

 

Add the magic effect to a spell and give yourself the spell.

 

last but not least, proofread my code for typos since I wrote it on my phone :p

 

actor playerref

event oneffectstart(actor aktarget, actor akcaster)
    playerref = aktarget
    registerformenu("inventorymenu")
    registerformenu("statsmenu")
endevent

event onplayerloadgame()
    registerformenu("inventorymenu")
    registerformenu("statsmenu")
endevent

event onmenuclose(string menuname)
    PlayerRef.SetAV("CarryWeight",PlayerRef.GetAV("Stamina")
endevent
Edited by GrimyBunyip
Link to comment
Share on other sites

  • Recently Browsing   0 members

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