CloseDoor

From Nomad DB
Revision as of 18:31, 16 April 2020 by Cobra (talk | contribs) (Created page with "Closes the specified door entity (entities that have a ''CDoorComponent''). == Syntax == <syntaxhighlight lang="lua"> CloseDoor(doorEntityId, instant) </syntaxhighlight> * ''...")
(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