OnDoorChangeDimension
From Onset Developer Wiki
Description
Event called when a door instance changes dimensions from SetDoorDimension.
Syntax
OnDoorChangeDimension(door, old_dimension, new_dimension)
Parameters
- door
The door which changed dimension. - old_dimension
The old dimension. - new_dimension
The new dimension.
Example
AddEvent("OnDoorChangeDimension", function(door, old_dimension, new_dimension)
print("Door "..door.." changed dimensions")
end)