Download
(14Kb)
Download
Updated: 09-06-12 05:48 AM
Pictures
File Info
Updated:09-06-12 05:48 AM
Created:08-23-10 05:31 AM
Downloads:2,611
Favorites:7
MD5:

Emergency

Version: 5.0.4.3
by: Haleth [More]

Emergency is a very simple AddOn that will play a sound when your health or mana reaches a critical level (less than 30%).

It was inspired by the similar functionality included in MSBT. Users familiar with this AddOn will notice that it uses the same clear alert sounds.

How do I change the 'critical level' value to be higher or lower?

Open up core.lua in the Emergency folder, and change either of the '.3' values to the value of your choice. '1' is full health/mana, '0' is no health/mana.

How do I change the sound?

Replace LowHealth.mp3 and LowMana.mp3 in the Emergency folder with sound files of your choice. Make sure that the name remains the same, however. If you choose a .wav file, you will need to change the file extension in core.lua as well.

-

Thanks to Vrul for helping me fix a bug.

5.0.4.3

Flagged as compatible with patch 5.0.4.
Removed Mac OS X-specific files.
Converted line endings to Dos/Windows to make it easier to edit for Windows users.
Changed version numbering; [patch].[addon build]

1.1

Updated for 4.0.1

1.0

Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 10-30-14, 09:29 PM  
devilArt
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 51
File comments: 203
Uploads: 2
hi haleth
could you add this feature into freeui, it's really convenient
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 02:15 PM  
Haleth
This Space For Rent
 
Haleth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1173
File comments: 1146
Uploads: 17
Hello, nice to see you like the addon.

This idea and nature of this addon is to be audio-only, though what you're suggesting wouldn't be too hard to add as an option. I'll think about it.

Edit: I'll leave this up to other addons.
Last edited by Haleth : 10-31-10 at 02:44 PM.
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 11:21 AM  
Amorelia
A Murloc Raider

Forum posts: 6
File comments: 11
Uploads: 0
I'm am more-so a visual person than an audio person. Would it be possible to add a screen flash or pulse around the edges? Maybe below a certain health percentage the edges of the screen turn red or something. Great addon, I feel it rounds out my UI nicely!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: