CloseDoor

From Nomad DB
Revision as of 20:37, 27 October 2020 by SpeckBomber (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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