Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Truthslayer

Allies
  • Posts

    2
  • Joined

  • Last visited

Truthslayer's Achievements

Layman

Layman (1/11)

0

Reputation

  1. Okay, it's just that I am using akTarget.QueueNiNodeUpdate(), which is to that actor itself. Again, I'm using a setheight version of this for the vertical size and it works, updating the height on the fly. I'm just stumped as to why the weight one doesn't. PS. How do I get the code to display without the alternating white lines?
  2. Hi, I'm trying my hand at redoing the scripts for Size Changing Spell Effects to use SKSE functionality and at the same time pull the values as variables to expand the range of possible original sizes and to affect more actors (eventually). That seemed to work without crashing as badly as the default thanks to the wait delays I added. Then I decided to try my hand at using the GetWeight/SetWeight functions as well since no one else seems to be doing this specifically. In short, the weight is changing, but I'm not getting the body to update on the fly like the height is without constantly equipping/unequipping the armor. From the included code, can anyone give suggestions/ideas as to why this is and how to fix it? Scriptname lxlFattenTemp extends ActiveMagicEffect float Property OriginalWeight auto Event OnEffectStart(Actor akTarget, Actor akCaster) actorbase pakTarget = akTarget.GetActorBase() float Weight = pakTarget.GetWeight() Debug.Notification(Weight) OriginalWeight = Weight while (Weight < 100.0) Weight += 0.5 akTarget.GetActorBase().SetWeight(Weight) akTarget.QueueNiNodeUpdate() Utility.Wait(0.5) endWhile Debug.Notification(Weight) EndEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) actorbase pakTarget = akTarget.GetActorBase() float Weight = pakTarget.GetWeight() while (Weight > OriginalWeight) Weight -= 0.4 akTarget.GetActorBase().SetWeight(Weight) akTarget.QueueNiNodeUpdate() Utility.Wait(0.5) endWhile akTarget.GetActorBase().SetWeight(OriginalWeight) akTarget.QueueNiNodeUpdate() EndEvent
×
×
  • Create New...