EEex_GetActorCurrentHP

EEex_GetActorCurrentHP(actorID)

Returns the actor’s current hit points (HP), (defined at offset 0x24 of the .CRE)

Parameters

  • actorID - actor id to return current hit points for

Return

A WORD value indicating the current hit points of the actor

Example

local hp = EEex_GetActorCurrentHP(actorID)

See Also

EEex_GetActorAlignment, EEex_GetActorAllegiance, EEex_GetActorClass, EEex_GetActorGender, EEex_GetActorName, EEex_GetActorKit, EEex_GetActorRace