1
0
EQ2Emu/docs/lua_functions/OpenDoor.md
2025-05-15 09:50:31 -04:00

439 B
Raw Blame History

Function: OpenDoor(DoorSpawn)

Description: Opens a door spawn in the world. This will play the doors open animation and typically allow passage. The door remains open until closed by script or by its own auto-close timer if any.

Parameters:

DoorSpawn: Spawn  The door object to open (must be a door interactive spawn).

Returns: None.

Example:

-- Example usage (open a secret door when puzzle is solved) OpenDoor(SecretDoor)