Difference between revisions of "GetTimeDead"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
imported>Lisselli
m (Doesn't work on actors with starts dead checked.)
Line 4: Line 4:


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 ==
* Does not work on actors with the Starts Dead flag checked on the reference.
[[Category:Console Commands]]
[[Category:Console Commands]]


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

Revision as of 14:31, 18 July 2017

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

  • Does not work on actors with the Starts Dead flag checked on the reference.