User Tools

Site Tools


lgscript:doorsrv

DoorSrv

CloseDoor

Close a door.

Returns boolean success
Parameter integer door

OpenDoor

Open a door.

Returns boolean success
Parameter integer door

GetDoorState

Get the state of a door.

Returns integer state
Parameter integer door

ToggleDoor

Change the state of a door.

Returns boolean success
Parameter integer door

SetBlocking

Change whether a door should block sound and vision.

Returns boolean success
Parameter integer door
Parameter boolean isblocking

GetSoundBlocking

Test if a door blocks sound.

Returns boolean isblocking
Parameter integer door
lgscript/doorsrv.txt · Last modified: 2009/08/25 22:05 (external edit)