Skip to content

getObjectBreakHealth

Client-side

Returns an armed object's remaining durability.

Syntax

float|false getObjectBreakHealth(object theObject)

Arguments

theObjectobject

Streamed object element.

Returns

The remaining health, or false when the object has no profile.

Ownership and lifecycle

A break effect belongs to the resource that created it and is removed when that resource stops. Fragment geometry is cached per model, so repeated fractures of the same model reuse the first computed cut until the cache is cleared.

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →