DeadZone Community Packages
    Preparing search index...

    These are the small 'status' panels that DeadZone uses to give users information about the state of a plugin.

    For example in Barrows you'll see 'Digging', 'Searching crypt', 'Fighting boss'. This is not only to help debug but gives the user some information about what the plugin is actually doing.

    You can also display helpful information for example Ironman Buyer plugin will give a running total of amounts bought.


    The setup is very similar to configs

    const overlay = {
    title: OverlayItem.create2d("keyExample", "My action", false, 0)
    };

    If there are any items in the 'overlay' object, the engine will automatically generate a new config for your plugin 'Show Overlay'.

    You can update the value using

    overlay.title.setValue("1234");
    

    As well as visibility using

    overlay.title.setVisible(false);