GetCauseofDeath

From the CreationKit Wiki
Revision as of 16:56, 12 May 2024 by DavidJCobb (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function is meant to be used on an actor, and checks an optional per-actor data structure used to track information about actor deaths, dismemberment, and cannibalism (including werewolf feeding). The function returns the value of an enum 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.