SkeldJS
    Preparing search index...

    Class PlayerCheckZiplineEvent<RoomType>

    Emitted when a player is attempting to use a zipline, and is requesting the host to verify the attempt and actually use the zipline. Only emitted if the client is the host.

    This event is useful if you want to prevent a player from ziplining before it happens. This event doesn't guarantee that the zipeline use actually takes place, see PlayerUseZiplineEvent to listen for that.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.checkzipline" = ...
    eventName: "player.checkzipline" = ...
    fromTop: boolean
    isValid: boolean

    Whether or not this zipline would normally be considered valid.

    message: undefined | CheckZiplineMessage

    The message that this event originated from.

    player: Player<RoomType>
    room: RoomType

    Accessors

    Methods

    • Change whether this zipline use should be consider valid. If valid, this player will use the zipline.

      Parameters

      • isValid: boolean

        Whether or not this zipline use should be considered valid.

      Returns void