OnDoorCreated
From Onset Developer Wiki
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)