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> * ''...") |
(No difference)
|
Revision as of 19:31, 16 April 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)