Thread Tools Display Modes
10-28-05, 03:18 AM   #1
Ravendwyr
A Flamescale Wyrmkin
 
Ravendwyr's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 139
New TOC Field: LoadWith

Hello,

In WoW 1.9.0 there will be a new .toc field:

## LoadWith:

This allows your mod, if it's Load-On-Demand enabled, to load when a different Load-On-Demand mod is loaded.

For example:

## Name: Auctioneer
## Interface: 1900
## etc...
## LoadOnDemand: 1
## LoadWith: Blizzard_AuctionUI

LoadWith will only work if your mod and the mod you choose to load with are both Load-On-Demand enabled.

I have attached a screengrab of what WoW UI Des might look like to support this feature. The image will look distorted, as the font I used in Paint is different to the font used in WoW UI Des.

Code:
if (LoadOnDemand == true) then
 LoadWithBox:Show();
elseif (LoadOnDemand == false) then
 LoadWithBox:Hide();
end
Couldn't resist typing that! ^_^
Attached Thumbnails
Click image for larger version

Name:	LoadWith.JPG
Views:	672
Size:	31.0 KB
ID:	238  
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » New TOC Field: LoadWith


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off