WeakAuras 2

4 - Load Condition for Boss name

What is the enhancement in mind? How should it look and feel?

Please provide any additional information below.

Grab UnitName("boss1") on the INSTANCE_ENCOUNTER_ENGAGE_UNIT event.

User When Change
Stanzilla Sep 24, 2013 at 10:32 UTC Changed assigned to from Stanzilla to Mirrormn
Stanzilla Sep 20, 2013 at 23:56 UTC Changed description:
  Please provide any additional information below.

- Grab UnitName("boss1") on the Intance_Encounter_Engaged Event.
+ Grab UnitName("boss1") on the INSTANCE_ENCOUNTER_ENGAGE_UNIT event.
Stanzilla Sep 20, 2013 at 23:55 UTC Changed name from Loaf Condition for Boss name to Load Condition for Boss name
Stanzilla Sep 18, 2013 at 19:07 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of mysticalos mysticalos Sep 24, 2013 at 18:38 UTC - 0 likes

    Well, or something similar. probably better to use creatureID vs boss name, more precise and shares better across different languages. Also, boss1 isn't a sufficent check for some. possibly better to just do "for i = 1, 5" do on it

  • Avatar of mysticalos mysticalos Sep 24, 2013 at 18:37 UTC - 0 likes
    	if UnitExists("boss1") and UnitName("boss1") == UsersCondition then
    		if IsEncounterInProgress() and auraActive = false  then
    			auraActive = true
    		elseif not IsEncounterInProgress() and auraActive then
    			auraActive = false
  • Avatar of Veldock Veldock Sep 21, 2013 at 01:34 UTC - 0 likes

    I've recently made a custom lua aura for this. Because of the amount of text auras that my guild is using... (raid cd rotations and such).. So you can use it if you like. It is set to untrigger if you die, so you need to be alive and in combat vs a boss. I've placed a note in the custom trigger box where you need to change the boss' name for which boss you want to load. (if you didn't want a text aura just right click on it and convert to the type you want).


    Side note, the reason for the many events/trigger conditions, is because not all of the event's always get passed to a player when entering combat, its like just triple checking kinda thing.. There's probably a more elegant way to do it but this works for me.

    Last edited Sep 21, 2013 by Veldock
  • Avatar of Stanzilla Stanzilla Sep 20, 2013 at 23:57 UTC - 0 likes

    @sasteber: Go

    Should be better if we keep the aura active from INSTANCE_ENCOUNTER_ENGAGE_UNIT till the player drops combat again.

  • Avatar of sasteber sasteber Sep 20, 2013 at 18:21 UTC - 0 likes

    Wouldn't it be easier to just use GetMinimapZoneText(), since bosses are located in different subzones, with the event ZONE_CHANGED.

    Could only see a problem with it during Hellscream since he jumps between zones, so would have to add all the different zones that fight is in. All the other boss fights are in the same subzone.

    Guessing that the UnitName("boss1"), could be a problem if there are multiple bosses in a fight and not all active at the same time.



Last updated
Nov 22, 2013
Sep 18, 2013
Accepted - Problem reproduced / Need acknowledged.
Enhancement - A change which is intended to better the project in some way
Medium - Normal priority.

Reported by

Possible assignees