OnDoorDestroyed
From Onset Developer Wiki
Description
Event called when a door instance was destroyed through DestroyDoor.
Syntax
OnDoorDestroyed(door)
Parameters
- door
The door which was destroyed.
Example
function OnDoorDestroyed(door)
print("Door "..door.." was destroyed")
end
AddEvent("OnDoorDestroyed", OnDoorDestroyed)