Difference between revisions of "GetCauseofDeath"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Egocarib
(Created page with " Category:Condition Functions")
 
(Functionality verified via reverse-engineering, but there are still some unknowns.)
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.


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]]

Revision as of 16:55, 12 May 2024

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.