Difference between revisions of "OpenDoor"
From Nomad DB
m |
SpeckBomber (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | {{Page_WD2}} | ||
Opens the specified door entity (entities that have a ''CDoorComponent''). | Opens the specified door entity (entities that have a ''CDoorComponent''). | ||
Latest revision as of 20:38, 27 October 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)