Lua API
On this page

Combat_QueryHealthResponse_S2C

Inherits from

QueryHealthResponse: Update a creatures health bar.

Fields:

HealthPercent number

the amount of health remaining, scaled from 0.0 (none) to 1.0 (full)

ObjectId number

the object ID of the creature

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string