GetCauseofDeath

From the CreationKit Wiki
Revision as of 16:55, 12 May 2024 by DavidJCobb (talk | contribs) (Functionality verified via reverse-engineering, but there are still some unknowns.)
Jump to navigation Jump to search

This function is meant to be used on an actor, and checks an optionally data structure used to track information about actor deaths, dismemberment, and cannibalism (including werewolf feeding), and returns the value of an enumeration somewhere in that data structure. The range of possible values, and the meanings of those values, are unknown at this time.

The default value of the enumeration is -1. If the function is run on something that isn't an actor, or if the actor lacks the data structure in question, then this function returns -1.