Thread Tools Display Modes
09-11-06, 02:03 AM   #1
nepluto
A Murloc Raider
Join Date: Sep 2006
Posts: 5
OnLoad Error

Seems no matter what i try i game the same error with OnLoad events. the error i receive is

[String "CastHelperFormCountLabel:OnLoad]:1 Attempt to call Global 'RegisterEvent' (a nil value) . any clue as to what might be going wrong there.
any saved variables i use have been added. and OnLoad even is RegisterEvent("VARIABLES_LOADED"); ..

Any help would be appeciated. Thanks.
  Reply With Quote
09-11-06, 02:43 AM   #2
wereHamster
A Black Drake
 
wereHamster's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 80
Originally Posted by nepluto
and OnLoad even is RegisterEvent("VARIABLES_LOADED"); ..
You forgot 'this', there should be:
Code:
this:RegisterEvent("VARIABLES_LOADED");
  Reply With Quote
09-11-06, 03:47 AM   #3
nepluto
A Murloc Raider
Join Date: Sep 2006
Posts: 5
i knew i had done something stupid. lmao. thanks
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » OnLoad Error


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