Difference between revisions of "GetTimeDead"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Lisselli
m (Doesn't work on actors with starts dead checked.)
imported>Thynar
m
 
Line 5: Line 5:
Returns the time (in hours) that the calling actor has been dead. For example, if BossBanditRef has been dead for 3.5 hours, BossBanditRef.GetTimeDead would return 3.5.
Returns the time (in hours) that the calling actor has been dead. For example, if BossBanditRef has been dead for 3.5 hours, BossBanditRef.GetTimeDead would return 3.5.
== Notes ==
== Notes ==
* Does not work on actors with the Starts Dead flag checked on the reference.
* Will return 0 on actors with the Starts Dead flag checked on the reference.
[[Category:Console Commands]]
[[Category:Console Commands]]


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

Latest revision as of 05:56, 29 December 2019

Syntax:

GetTimeDead 


Returns the time (in hours) that the calling actor has been dead. For example, if BossBanditRef has been dead for 3.5 hours, BossBanditRef.GetTimeDead would return 3.5.

Notes[edit | edit source]

  • Will return 0 on actors with the Starts Dead flag checked on the reference.