GetTimeDead

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns how long (in hours) the actor has been dead.

Returns 0 if the actor is invalid, it isn't dead, or if it isn't loaded / has been disabled.
If the actor gets disabled after dying, it loses its info about when it has died, meaning GetTimeDead returns 0 even if the actor is re-enabled.

Syntax

[help]
(float) [Actor].GetTimeDead

Example

BuddyRef.GetTimeDead

Returns how many hours Buddy has been dead, in float form.

See Also