https://i.imgur.com/4XInoJf.png
like this picture, that mustve been a weakaura but maybe they had custom coding? or is this easily done?
#are u able to color certain words in display on text weakauras
28 messages · Page 1 of 1 (latest)
!escape
Use "Escape Sequences" to add formatting to strings http://wow.gamepedia.com/UI_escape_sequences
@pseudo cedar so i figured how u can use %c in display custom but if i want to recreate that in the picture for example
i would have to type "bait" %c
or i guess the next line works fine if the word comes right after
but was thinking if it would be hard if the last word is pull maybe?
and theres some white text inbetween and a %p before last word u know
or im just overthinking it maybe
I don't know what you're working with, what in that text is typed directly in to the text box and what is using a text replacement.
will give u example and what im working with soon
"Bait |cFFFFFF00Breath|r |cFF00FF00Pull|r target out [6]"
that's for the example in original post
I would put the escape closes directly after the word you're colouring unless you need the behaviour specifically
so in this example if i would wanna make teleport red then
how could i do that without making "+ add" red?
do i just include that in the custom code aswell but as white then?
What I was asking for clarification on was whether any of the words you were using were coming from a trigger.
If not then you can either just define the whole thing in %c, or a specific word like you're doing there. Or you can even just define colours in %c.
Yes but you're not using any spell names or anything it seems.
a)
function() return "Colour |cffff0000this|r and |cff00ffffthis\r but don't colour this stuff" end
b)
Colour %c1 and %c2 but don't colour this stuff
with function() return "|cffff0000this|r", "|cff00ffffthis\r" end
c)
Colour %c1this%c3 and %c2this%c3 but don't colour this stuff
with function() return "|cffff0000", "|cff00ffff", "|r" end