Talk:GetCauseofDeath

From the CreationKit Wiki
Jump to navigation Jump to search

This function checks the actor's ExtraDismemberedLimbs data, if present, and returns the field located just before the "death object" pointer. The field in question is a signed integer, initialized to -1. Its meaning is not known, but it's probably an enum.

If the function is run on something that isn't an actor or has no ExtraDismemberedLimbs data, then it returns -1. DavidJCobb (talk) 17:53, 12 May 2024 (EDT)