Thread Tools Display Modes
01-21-07, 11:48 AM   #1
Elenesski
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 6
Cannot Call Khaos

I'm fairly new to writing mods, so this could be just a newbie question. In my mod I coded:
Code:
	KhaosFolder = {
		id = "XUBFolderId";
		text = "Amazing AddOns";
		helptext = "These AddOns will do amazing things for you and all of your friends. ";
		difficulty = 5;  -- 1 - Easy as Pie, 5 - Most people can handle it, 10 - Lua addicts only
	}
	
	registerFolder(KhaosFolder);
Just to see what happens, with something simple, and I get an error that says "Attempt to call global 'registerFolder' (a nil value)".

Khaos is installed in a different folder than my mod (XUB), so how do I tell my mod and WoW that this code exists in another folder/subdirectory. Did I load the mods in the wrong order?

Any ideas? How do I fix it?

Thanks,
- E
  Reply With Quote
01-22-07, 11:36 AM   #2
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 95
try: Khaos.registerFolder
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Cannot Call Khaos


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