View Single Post
07-25-13, 02:28 PM   #5
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
When you set the tooltip to a quest ID it has to request the information from the server if it hasn't been cached yet, it's similar to getting item information.

You can use OnTooltipSetQuest which triggers when the tooltip actually receives new information.

Note that the event can fire multiple times for the same quest because the tooltip may contain the name of items in the "Requirements" section and each item name requires another server request.

I had written a more complicated example that retrieved the entire quest text but there probably isn't any point in posting it.

Last edited by semlar : 07-25-13 at 02:35 PM.
  Reply With Quote