Skip to content

getObjectBreakProfile

Client-side

Available in Neon, not standard MTA

Returns the durability profile armed on an object.

Syntax

table|false getObjectBreakProfile(object theObject)

Arguments

theObjectobject

Streamed object element.

Returns

The profile table, or false when the object has none.

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 NEON APIS

Continue exploring

Read the system guide →