Entity:getDoorPartner - brianhang/nutscript2 GitHub Wiki

Description

partner = Entity:getDoorPartner()

This shared function returns the partnered door. Door partners will open when a door opens and closes when a door closes. This is usually the case with double doors.

Returns

Name Description
partner The door's partner. If it does not exist, NULL is returned.