Difference between revisions of "GetTimeDead"
Jump to navigation
Jump to search
imported>SJML Bot (Bot creating condition functions pages.) |
imported>Thynar m |
||
(One intermediate revision by one other user not shown) | |||
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 == | |||
* 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.