CloseDoor

From Nomad DB

Closes the specified door entity (entities that have a CDoorComponent).

Syntax

CloseDoor(doorEntityId, instant)
  • doorEntityId (string): ID of the door entity to close
  • instant (number): Whether to close the door instantly or not (0 or 1)

Example

Closes the specified door entity.

CloseDoor("123", 1)

Related Pages