Misc

A generic module that holds anything that doesnt fit elsewhere

Functions

impulse.MakeWorkbar(time, text, onDone, popup)

View source »

Creates a work bar on the players screen

Parameters

  • time int

    The time it will take to complete the bar

  • text string optional

    Text to display on the bar

  • onDone function optional

    Called when bar is complete

  • popup boolean default: false

    If the bar should stop player input

impulse.blur(panel, layers, density, alpha)

View source »

Renders a blur effect on a panel. Call this inside PANEL:Paint

Parameters

  • panel panel

    The panel to blur

  • layers int

    Unknown

  • density int

    Density

  • alpha color

    Alpha