Quick Jump Daily Digest

Thank you for your interest in the Quick Jump Daily Digest. Get notified of all new content on QJ in our free Daily Digest. To subscribe, enter your email address below and click the subscribe button.


Email Address:


Email will come from "donotreply@caputomedia.com". Please whitelist this email address.

Cancel and Return to page

WoW AddOn discussion: Pauses between frames

Posted May 13, 2007 at 4:16PM EST by QJ Staff

Listed in: Titles, Mods, Opinions & Analysis Tags: Blizzard
Ó

World of Warcraft logo - Image 1Given that creating game mods for World of Warcraft can prove to be a complicated task, we're happy to see that the Blizzard devs are willing to lend a helping hand for the occasional inquiry. With that said, we'll be taking a look at a WoW forum member Casull, who's reported a problem regarding frame code creation for an AddOn under development:

I have a class that wraps a frame called Host; Host's new() function creates that frame. It goes like this:

Create frame, set its textures
Give frame dimensions
Set frame's point
call another function:
--->call GetTop() on frame

and that last one is giving me a nil value. Still, if I /dump the GetTop() ingame without having changed anything, it gives me a value. I believed that for GetTop()to return a meaningful value, the frame needs to have height, and it needs to be placed somewhere, yet with both of these requirements fulfilled I'm getting nil values. This leads me to ask - is there some kind of pause between when you call SetPoint(), SetHeight(), SetWidth() and when you can call GetTop()?


Shortly after posting the inquiry, Blizzard spokesman Slouken dropped by to provide for advice: "Make sure that you're setting the frame's point to something that is already resolved. Otherwise it sounds like it should work, and you can post a minimal test case for people to look at."

Not exactly major news, but we imagine this discussion should provide pointers to other players planning to make their very own WoW AddOns. It's the weekend - time to brush up on the tutorials.

Via WoW Forums



This story sucks? This story rocks!
Vote Now!    This story ROCKS! (0) This story SUCKS!! (0)




Become a Member of QJ.Net!

If you want your comments to go live without waiting for moderation, you need to be logged in. Being logged in has its benefits:
  • Logged in members do not wait for their comments to be approved.
  • Logged in members can sign up for nightly updates.
  • Logged in members can create Profiles to be seen by other users.
So why wait? Create an account or login now! It's easy, quick, and free.

To get started, use the LOGIN boxes, or the REGISTER link at the top right!

Add comment

Security code
Refresh


Welcome to QJ.Net!

If you want your comments to go live without waiting for moderation, you need to be logged in. Being logged in has its benefits:
  • Logged in members do not wait for their comments to be approved.
  • Logged in members can create Profiles to be seen by other users.
So why wait? Create an account or login now! It's easy, quick, and free.

To get started, use the LOGIN boxes, or the REGISTER link below!



Want to learn more about the team who brings you the QJ news?

Read about them now!


RSS Feeds Follow us on Twitter Find us on Facebook
Login:

HOT FLASH GAMES

Monster Truck Jumper

Left to Die

The Empire 2

Dark Dimension

Town Drift Competition

Heroes of the Sword
MMORPG Categories

Events
Featured Articles
Humor
Interviews
Lore
Mods
News
Off Topic
Opinions & Analysis
Patches
Previews
Reviews
Rumors
Screenshots
Site News
Titles
Tutorials
Utilities
Videos

Sitemap