- CreateDynamicDoor
- CreateRotatingDoor
- CreateSlidingDoor
- CreateTeleportingDoor
- ActivateDynamicDoor
- DestroyDynamicDoor
- DestroyAllDynamicDoors
- IsValidDynamicDoor
- GetDynamicDoorObjectID
- IsPlayerInRangeOfAnyDynamicDoor
- IsPlayerInRangeOfDynamicDoor
- GetDynamicDoorPos
- GetDynamicDoorRot
- GetDynamicDoorType
- GetDynamicDoorState
- Parameters:
model
: modelDoorType:type
: DoorType:typeFloat:X
: Float:XFloat:Y
: Float:YFloat:Z
: Float:ZFloat:rX
: Float:rXFloat:rY
: Float:rYFloat:rZ
: Float:rZFloat:eX
: Float:eXFloat:eY
: Float:eYFloat:eZ
: Float:eZFloat:erX
: Float:erXFloat:erY
: Float:erYFloat:erZ
: Float:erZworld
: worldinterior
: interior- Returns:
- The door's ID with the 'Door' tag.
- Remarks:
- Parameters:
model
: modelFloat:X
: Float:XFloat:Y
: Float:YFloat:Z
: Float:ZFloat:rX
: Float:rXFloat:rY
: Float:rYFloat:rZ
: Float:rZFloat:erX
: Float:erXFloat:erY
: Float:erYFloat:erZ
: Float:erZworld
: worldinterior
: interior- Returns:
- The door's ID with the 'Door' tag.
- Remarks: Only accepts starting position.
- Parameters:
model
: modelFloat:X
: Float:XFloat:Y
: Float:YFloat:Z
: Float:ZFloat:eX
: Float:eXFloat:eY
: Float:eYFloat:eZ
: Float:eZFloat:rX
: Float:rXFloat:rY
: Float:rYFloat:rZ
: Float:rZworld
: worldinterior
: interior- Returns:
- The door's ID with the 'Door' tag.
- Remarks: Only accepts starting rotation.
- Parameters:
model
: modelFloat:X
: Float:XFloat:Y
: Float:YFloat:Z
: Float:ZFloat:rX
: Float:rXFloat:rY
: Float:rYFloat:rZ
: Float:rZFloat:eX
: Float:eXFloat:eY
: Float:eYFloat:eZ
: Float:eZFloat:erZ
: Float:erZworld
: worldinterior
: interior- Returns:
- The door's ID with the 'Door' tag.
- Remarks: If your door is dual entranced, create two doors with opposite positions.
- Parameters:
Door:doorid
: Door:dooridFloat:speed
: Float:speedplayerid
: playerid- Returns:
- 0 on failure, causes: Non-existent door, player not connected, player not in range
- 1 on success
- Remarks: The param named 'speed' could be misinterpreted when using a teleporting door. In that case it is actually the range the player needs to be in for it to work.
- Parameters:
Door:doorid
: Door:doorid- Returns:
- 0 on failure, causes: Non-existent door
- 1 on success
- Remarks:
- Parameters:
- Returns:
- 1 on success
- Remarks: Safe way to destroy all doors.
- Parameters:
Door:doorid
: Door:doorid- Returns:
- 0 if door is not valid
- 1 if door is valid
- Remarks:
- Parameters:
Door:doorid
: Door:doorid- Returns:
- Streamer ID if door is valid
- INVALID_OBJECT_ID if door is not valid
- Remarks:
- Parameters:
playerid
: playeridFloat:range
: Float:range- Returns:
- Door ID of first door found
- INVALID_DOOR_ID if not
- Remarks:
- Parameters:
playerid
: playeridDoor:door
: Door:doorFloat:range
: Float:range- Returns:
- 0 on failure
- 1 on success
- Sliding:
- 1 when near start
- 2 when near end
- Remarks:
- Parameters:
Door:door
: Door:door&Float:X
: &Float:X&Float:Y
: &Float:Y&Float:Z
: &Float:Z- Returns:
- 0 on failure, causes: Non-existent Door
- 1 on success
- Remarks:
- Parameters:
Door:door
: Door:door&Float:rX
: &Float:rX&Float:rY
: &Float:rY&Float:rZ
: &Float:rZ- Returns:
- 0 on failure, causes: Non-existent Door
- 1 on success
- Remarks:
- Parameters:
Door:door
: Door:door- Returns:
- INVALID_DOOR_TYPE on failure, causes: Non-existent Door
- DOOR_TYPE_ROTATING, DOOR_TYPE_SLIDING, or DOOR_TYPE_TELEPORTING on success
- Remarks:
- Parameters:
Door:door
: Door:door- Returns:
- INVALID_DOOR_STATE on failure, causes: Non-existent Door
- DOOR_STATE_OPEN or DOOR_STATE_CLOSED on success
- Remarks: