OnText3DDestroyed

From Onset Developer Wiki
OnText3DDestroyed

Type: Event
Context: Server
Introduced: v1.2.2

Description

Event called when a text3d instance was destroyed through DestroyText3D.

Syntax

OnText3DDestroyed(text3d)

Parameters

  • text3d
    The text3d which was destroyed.

Example

function OnText3DDestroyed(text3d)
    print("Text3D "..text3d.." was destroyed")
end
AddEvent("OnText3DDestroyed", OnText3DDestroyed)

See also