Addon: EkBomb
Author: Dargen.
Guild: Eternal Keggers
Server: Terenas


Description:

This addon displays a very large attention-getting warning window in the center of your screen when it detects certain event (trigger) messages.

The addon comes with some pre-defined warnings for certain "bomb" style debuffs. These are debuffs where you either want to run away from everyone else, or stop whatever you are doing immediately.

There are options to play a sound, make the warning blink, display a timer, and to change the opacity, scale, and colours of the warning. Each warning can be individually enabled, and there are test buttons to try them out at any time.

The warning window will not prevent you from clicking on something behind it. You can either leave the warning on screen until the warning's timer counts down to zero, or you can click on the close button to hide the warning.

The pre-defined warnings that currently come with the addon are:


Command summary:


Calling from another addon

If you are writing an addon and want to show or hide a warning using EkBomb, you can use these two functions: EkBomb_Show("bigText", "smallText", seconds) and EkBomb_Hide(). Refer to the notes at the top of the EkBomb.lua file for more details.


OPTIONS

Warning window scale

This allows you to adjust how large the warning window will be when it is displayed.

If a warning is too wide to display on the screen using the scale that you set, the addon will automatically resize the warning when it is displayed so that it fits on the screen.

Warning window opacity

This allows you to adjust how transparent the warning window is. At 0% opacity the window is see through, and at 100% it appears as a solid color.

Small text, Large text, Background

These color buttons allow you to adjust the colors used for the warning window.

Blink the warning

This will make the warning window flash slowly.

Show the warning background

This will make the warning window's background visible behind the small and large text that make up the warning messages.

Play a sound

This will make the addon play a sound when the warning window appears.

Show the countdown timer

Most warnings will be only displayed for a certain amount of time. By enabling this option, the addon will display a countdown timer on the 'Close' button that appears on the warning window. If the warning does not use a timer (ie. its duration is set to 0), then no countdown timer will appear on the 'Close' button.

Show detailed tooltips

This will enable or disable the display of detailed tooltips. The next option will allow you to choose where to display the tooltips.

Show tooltips by the mouse pointer

This allows you to choose where to show the detailed tooltips. If you don't choose to display them by the mouse pointer, then they will be displayed in the game's default tooltip location (the lower right hand corner of the screen).

Test/Move button

The "Test/Move" button on the options window will display a warning and allow you to reposition the warning window. While the test warning is displayed you can left-click and drag the warning to a new location.

This particular test button ignores the duration assigned to a warning in order to allow you more time to position the warning or change options.

A Left-Click of the button will show the next warning. A Ctrl-Click of the button will show a random warning.


PRE-DEFINED WARNINGS

The "Pre-defined" tab allows you to test and enable/disable the warnings that come with the addon.

Left-Click a warning to select it. Right-Click a warning to enable/disable the warning (or you can click on the checkbox to the left of the warning).

Left-Click the "Test" button to show the selected warning, Shift-Click the button to show the next warning from the pre-defined list, and Ctrl-Click the button to show a random warning from the pre-defined list. You can reposition the warning while it is displayed by left-clicking on the warning and then dragging it to a new location. While the mouse is over the warning the countdown timer will be paused.


CHANGE HISTORY

Version 5.01 changes (Aug 28, 2012):

Version 2.20 changes (Nov 28, 2011):

Version 2.19 changes (Jun 28, 2011):

Version 2.18 changes (Apr 26, 2010):

Version 2.17 changes (Oct 12, 2010):

Version 2.15 changes (Dec 7, 2009):

Version 2.14 changes (Aug 14, 2009):

Version 2.13 changes (Apr 13, 2009):

Version 2.12 changes (Apr 1, 2009):

Version 2.10 changes (Oct 13, 2008):

Version 2.03 changes (Mar 26, 2008):

Version 2.02 changes (Mar 8, 2008):

Version 2.01 changes (Mar 5, 2008):

Version 2.00 changes (Nov 14, 2007):

Version 1.49 changes (Sep 29, 2007):

Version 1.48 changes (Jun 4, 2007):

Version 1.47 changes (Jan 10, 2007):

Version 1.46 changes (Dec 5, 2006):

Version 1.45 changes (Nov 28, 2006):

Version 1.44 changes (Aug 22, 2006):

Version 1.42 changes (Jul 3, 2006):

Version 1.41 changes (Jun 22, 2006):

Version 1.4 changes (Jun 18, 2006):

Version 1.3 changes (May 31, 2006):

Version 1.2 changes (May 29, 2006):

Version 1.1.1 changes (Mar 28, 2006):

Version 1.1 changes (Mar 5, 2006):

Version 1.0.1 changes (Jan 3, 2006):

Version 1.0 changes (Sep 14, 2005):