Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/event.ts>Event

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

Constructors

new
Event(time?)

Event object for ease of creation.

Methods

Create an event with no particular identity.

Controls the back lasers.

Controls the left lasers in the Billie environment.

Controls the right lasers in the Billie environment.

boost(on: boolean)

Make this event change boost colors.

Controls the center lasers.

earlyRotation(rotation: number)

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

Controls the extra left lasers in some environments.

Controls the extra right lasers in some environments.

import(json: Record<string, any>)

Create an event using JSON.

lateRotation(rotation: number)

Used for 360 mode, rotates future objects only.

Controls the left lasers.

leftLaserSpeed(
speed: number,
direction?: number,
lockPosition?: boolean,
)

Control the movement speed of the left lasers.

Lower the hydraulics of the cars in the interscope environment.

moveCars(value: number)

Move cars in the interscope environment.

Raise the hydraulics of the cars in the interscope environment.

Controls the right lasers.

rightLaserSpeed(
speed: number,
direction?: number,
lockPosition?: boolean,
)

Control the movement speed of the right lasers.

Controls the ring lights.

ringSpin(
rotation?: number,
direction?: number,
step?: number,
speed?: number,
prop?: number,
reset?: boolean,
nameFilter?: string,
counterSpin?: boolean,
)

Spin the rings in an environment.

ringZoom(step?: number, speed?: number)

Control the zoom of the rings.