Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/basicEvent.ts>Event

A framework for Beat Saber map scripting.
Go to Latest
class Event
import { Event } from "https://deno.land/x/remapper@3.0.0/src/basicEvent.ts";

Constructors

new
Event(time?)

The starting event class builder. From this point you should select one of the attached methods to continue initialization.

Properties

abstract: () => unknown

Create an event with no particular identity.

backLasers: () => unknown

Controls the back lasers. (Type 0)

billieLeft: () => unknown

Controls the left lasers in the Billie environment. (Type 10)

billieRight: () => unknown

Controls the right lasers in the Billie environment. (Type 11)

centerLasers: () => unknown

Controls the center lasers. (Type 4)

earlyRotation: (rotation: number) => unknown

Used for 360 mode, rotates future objects and active objects.

extraLeft: () => unknown

Controls the extra left lasers in some environments. (Type 6)

extraRight: () => unknown

Controls the extra right lasers in some environments. (Type 7)

gagaLeft: () => unknown

Controls the outer left tower height in the Gaga environment. (Type 18)

gagaRight: () => unknown

Controls the outer left tower height in the Gaga environment. (Type 19)

import: (json: Json) => unknown

Create an event using Json.

lateRotation: (rotation: number) => unknown

Used for 360 mode, rotates future objects only.

leftLasers: () => unknown

Controls the left lasers. (Type 2)

leftLaserSpeed: (
speed: number,
direction?: number,
lockRotation?: boolean,
) => unknown

Controls left rotating laser speed.

rightLasers: () => unknown

Controls the right lasers. (Type 3)

rightLaserSpeed: (
speed: number,
direction?: number,
lockRotation?: boolean,
) => unknown

Controls right rotating laser speed.

ringLights: () => unknown

Controls the ring lights. (Type 1)

ringSpin: (
rotation?: number,
direction?: number,
step?: number,
speed?: number,
prop?: number,
nameFilter?: string,
) => unknown

Spin the rings of an environment.

ringZoom: (step?: number, speed?: number) => unknown

Controls ring zoom.

Methods

Lower the hydraulics of the cars in the interscope environment.

Move cars in the interscope environment.

Raise the hydraulics of the cars in the interscope environment.

setType(type: number)

Iniitialize an event from a type.