WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Apoco at 8/26/2005 12:10:59 PM PDT
Subject: Slouken: Question about SetScript
   Ok, I know we can add functions to frames by using:

frame:SetScript("OnEnter", function);

now, I believe I read somewhere we can remove the same functions by doing:

frame:SetScript("OnEnter", nil);

however, all this is doing is giving me an error on the test server. Is this a bug, or am I doing it wrong?
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=205294&p=#post205294
 
Poster: slouken at 8/26/2005 1:00:04 PM PDT
Subject: Re: Slouken: Question about SetScript
   Whoops, the code works correctly given nil, but I forgot to allow nil as a second parameter.

This is fixed internally, thanks.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=205294&p=#post205340

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?