Difference between revisions of "CloseDoor"
From Nomad DB
(Created page with "Closes the specified door entity (entities that have a ''CDoorComponent''). == Syntax == <syntaxhighlight lang="lua"> CloseDoor(doorEntityId, instant) </syntaxhighlight> * ''...") |
SpeckBomber (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | {{Page_WD2}} | ||
Closes the specified door entity (entities that have a ''CDoorComponent''). | Closes the specified door entity (entities that have a ''CDoorComponent''). | ||
Latest revision as of 20:37, 27 October 2020
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)