- Found in:
- SKSE
Description
Wiki Description
Visually updates the actors weight.
Documentation Comment
Visually updates the actors weight
neckDelta = (oldWeight / 100) - (newWeight / 100)
Neck changes are player persistent, but actor per-session
Weight itself is persistent either way so keep track of your
original weight if you use this for Actors other than the player
DO NOT USE WHILE MOUNTED
Caveats
CK Wiki - Notes
- DO NOT use this function while mounted. You will not crash, but physics will break resulting in you and your mount flying around violently until you dismount, or die from falling damage.
- Neck changes are player persistent but using this function on any other actor is session persistent only.
- Weight changes are persistent for all Actors, and as such it's important to keep track of any non-player Actor's original weight when using this function on them.
Parameters
floatneckDelta
CK Wiki Description
The neck delta is found by using the following equation (oldWeight / 100) - (newWeight / 100)
Examples
No human-generated examples found for this function.
Auto-Generated Example
float myFloat__neckDelta
myActor__toCallFunctionOn.UpdateWeight(myFloat__neckDelta)