InertRen Posted December 22, 2016 Share Posted December 22, 2016 Hello!I've been fooling around with the CK and made this small mod:http://www.nexusmods.com/skyrim/mods/80903/? Where the Player character Ragdolls if stamina drops to zero and you try to run. I'm facing a problem though.There are some mods that drop the Stamina values below Zero, and when it happens, the condition test fails.It apply it as an MGEF through an Ability.Here's the test I've been using, and I also tested with GetStaminaPercentage == 0, didn't work. http://orig04.deviantart.net/211f/f/2016/357/8/0/mod_neg_by_striderden-daslodm.jpgIs there a way to make it work with values below Zero?Thanks! Link to comment Share on other sites More sharing options...
lofgren Posted December 22, 2016 Share Posted December 22, 2016 Use <= Link to comment Share on other sites More sharing options...
Surilindur Posted December 22, 2016 Share Posted December 22, 2016 Does it work without the IsRunning check? As in, could it be that an actor stops running when stamina percent drops somehow? Just a thought, I have no idea how it should work even. Maybe testing with only GetStaminaPercent < 1 and seeing if it works (with no other conditions) would help make sure it really is the GetStaminaPercent condition that fails to work as intended? Link to comment Share on other sites More sharing options...
InertRen Posted December 22, 2016 Author Share Posted December 22, 2016 Fixed it!I was avoiding that, but I'll have to use 3 conditions. > 0 , < 0 , and isRunning.Thanks, guys! Link to comment Share on other sites More sharing options...
lofgren Posted December 22, 2016 Share Posted December 22, 2016 Use two conditions: GetActorValue Stamina <= 0IsRunning == 1 GetStaminaPercentage is deprecated and should be avoided. Link to comment Share on other sites More sharing options...
InertRen Posted December 22, 2016 Author Share Posted December 22, 2016 Use two conditions: GetActorValue Stamina <= 0IsRunning == 1 GetStaminaPercentage is deprecated and should be avoided.Worked like a charm, many many thanks! Link to comment Share on other sites More sharing options...
Recommended Posts