Wikia

WoWWiki

Talk:API FontInstance SetTextColor

100,551pages on
this wiki

Back to page

Removed in 3.0 - possible work around Edit

It appears this method has been removed in 3.0 as the game now returns an error stating the method is nil.

A work around I have come up with for now is to use the "|c" hex colors in conjunction with SetText.

Example:

Old: frame:SetTextColor(1, 1, 0, 1)

New: frame:SetText("|cFFFFFF00"..frame:GetText().."|r")

--SavageX378 (talk) 07:06, 16 October 2008 (UTC)


No, FontInstance:SetTextColor still exists. See for example FrameXML\ZoneText.xml's "ZoneTextString" object and the :SetTextColor calls in ZoneText.lua. Perhaps you are thinking of some other class? farmbuyer (talk) 18:29, 27 July 2009 (UTC)

Around Wikia's network

Random Wiki