OnText3DDestroyed

From Onset Developer Wiki
Revision as of 20:45, 31 August 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Event|Server|1.2.2}} {{FuncDescription|Event called when a text3d instance was destroyed through DestroyText3D.}} {{FuncSyntax|OnText3DDestroyed(text3d)}} {{Func...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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