1. #1
    Deleted

    Custom BigWigs /say Announce Strings

    Is this possible? You know... something along the lines of "Horridon's gonna charge at me arghhhh!!". I wouldn't use that, it's just an example!

  2. #2
    Were you in a rush to get an answer? Not sure why you PM'd me then made a thread.

    Anyway, you can directly print a custom string using the 3rd arg to :Say
    e.g.
    self:Say(optionFlag, nil, "All your base are belong to us")
    https://github.com/funkydude - https://github.com/BigWigsMods
    Author of BadBoy, BasicChatMods, BigWigs, BFAInvasionTimer, SexyMap, and more...

  3. #3

  4. #4
    Deleted
    Thanks Funkydude, I PMed you first and then thought "why don't I just make a thread?", so did =P

    I assume I comment out "mod:Say(-7741)" and replace it with your call?

    BTW Pureto, this is on line 194 of ...\World of Warcraft\Interface\AddOns\BigWigs_ThroneOfThunder\Jinrokh.lua

  5. #5
    Yes:

    Code:
    :Say(-7741)               == "Focused Lightning on PLAYER"
    :Say(-7741, "lol")        == "lol on PLAYER"
    :Say(-7741, nil, "wtf?")  == "wtf?"
    https://github.com/funkydude - https://github.com/BigWigsMods
    Author of BadBoy, BasicChatMods, BigWigs, BFAInvasionTimer, SexyMap, and more...

  6. #6
    Deleted
    Hello,

    Is there a way to change Megaera's 'Cinders' and 'Ice Torrent' so that it gets announced in /say with "Cinders on *playername*" ?

    I believe at the moment, it just says "Cinders on me", which can be quite confusing with chat bubbles on

    Thanks

  7. #7
    BW doesn't announce "on me", you're thinking of DBM. BW announces "on PLAYER".
    https://github.com/funkydude - https://github.com/BigWigsMods
    Author of BadBoy, BasicChatMods, BigWigs, BFAInvasionTimer, SexyMap, and more...

  8. #8
    Keyboard Turner Paerux's Avatar
    10+ Year Old Account
    Join Date
    Mar 2012
    Location
    Turkey
    Posts
    3
    Sorry for necroing , How does self:Say function work exactly? what are those -7741 numbers mean?

  9. #9
    Quote Originally Posted by Paerux View Post
    Sorry for necroing , How does self:Say function work exactly? what are those -7741 numbers mean?
    The first arg is always the option that API action is tied to. Generally this is a spell id such as 45362.

    Then came along the encounter journal, and we wanted an easy way to use those entries in boss modules. For efficiency we use a negative number instead of a string. So -7741 is EJ id 7741.
    https://github.com/funkydude - https://github.com/BigWigsMods
    Author of BadBoy, BasicChatMods, BigWigs, BFAInvasionTimer, SexyMap, and more...

  10. #10
    Keyboard Turner Paerux's Avatar
    10+ Year Old Account
    Join Date
    Mar 2012
    Location
    Turkey
    Posts
    3
    self:Say(138485) -> Crimson Wake on NAME (Dark Animus)
    self:Say(args.spellId) -> Sha Sear on Inferno Strike Phase (The Fallen Protectors)
    Sha of Pride's Bursting Pride , Aura of Pride
    self:Say(-8208, L.laser_say) -> Siegecrafter Blackfuse Laser
    Iron Juggernaut Cutter Laser

    I want to make custom /say for these spells , I'm guessing I'll have to change the siegecrafter one to self:Say(-8208,nil,"blabla")
    But what about the other ones? I know where to put the code but dont know what kind of code to put for sha of pride

    Do I have to find the EJ id of Crimson wake and sha sear and make it look like siegecrafter code? thanks in advance
    Last edited by Paerux; 2014-02-14 at 09:18 PM.

  11. #11
    If we're talking about just modifying say messages that already exist, then you don't need to know any id at all. All you need to change is the already existing :Say(...) call.

    So if you wanted to change "Crimson Wake on Player" to "Crimson on Player" it would be:
    self:Say(138485) >>> self:Say(138485, "Crimson")

    If you wanted a completely custom message like "I'm going to die" it would be:
    self:Say(138485) >>> self:Say(138485, nil, "I'm going to die")
    https://github.com/funkydude - https://github.com/BigWigsMods
    Author of BadBoy, BasicChatMods, BigWigs, BFAInvasionTimer, SexyMap, and more...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •