Difference between revisions of "OpenDoor"
From Nomad DB
(Created page with "Opens the specified door entity (entities that have a ''CDoorComponent''). == Syntax == <syntaxhighlight lang="lua"> OpenDoor(doorEntityId, instant, openToMaxAngle) </syntaxh...") |
(No difference)
|
Revision as of 19:28, 16 April 2020
Opens the specified door entity (entities that have a CDoorComponent).
Syntax
OpenDoor(doorEntityId, instant, openToMaxAngle)
- doorEntityId (string): ID of the door entity to open
- instant (number): Whether to open the door instantly or not (0 or 1)
- openToMaxAngle (number): Whether to open the door to its maximum angle or not (0 or 1)
Example
Opens the specified door entity.
OpenDoor("123", 1, 1)