Difference between revisions of "GetCauseofDeath"

From the CreationKit Wiki
Jump to navigation Jump to search
(Functionality verified via reverse-engineering, but there are still some unknowns.)
m
 
Line 1: Line 1:
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.
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.
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.


[[Category:Condition Functions]]
[[Category:Condition Functions]]

Latest revision as of 16:56, 12 May 2024

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.