OnDoorCreated

From Onset Developer Wiki
Revision as of 21:23, 6 October 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Event|Server|1.3.0}} {{FuncDescription|Event called when an door instance was created through CreateDoor.}} {{FuncSyntax|OnDoorCreated(door)}} {{FuncParameters}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
OnDoorCreated

Type: Event
Context: Server
Introduced: v1.3.0

Description

Event called when an door instance was created through CreateDoor.

Syntax

OnDoorCreated(door)

Parameters

  • door
    The door which was created.

Example

function OnDoorCreated(door)
    print("Door "..door.." was created")
end
AddEvent("OnDoorCreated", OnDoorCreated)

See also