Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: Lua/XML Help Yesterday, 10:44 PM
Replies: 41
Views: 1,429
Posted By SDPhantom
vBulletin converts tabs to spaces. Even if he had...

vBulletin converts tabs to spaces. Even if he had used tabs, the post would still display spaces.
Forum: RealUI Yesterday, 05:24 PM
Replies: 4
Views: 83
Posted By SDPhantom
If I remember right, GetEquipmentSetLocations()...

If I remember right, GetEquipmentSetLocations() only returns the item numbers without the unique IDs that are embedded in regular links. This also means you won't be able to tell the difference...
Forum: Lua/XML Help Yesterday, 05:16 PM
Replies: 4
Views: 161
Posted By SDPhantom
You can toggle the BattlefieldMinimap outside of...

You can toggle the BattlefieldMinimap outside of PVP instances. They had an option to do so using a setting on the WorldMap, but the control was removed in WoD. The Lua function still exists for...
Forum: Lua/XML Help Yesterday, 05:10 PM
Replies: 41
Views: 1,429
Posted By SDPhantom
I admit my version of the saved variable code may...

I admit my version of the saved variable code may have been more advanced than was needed to explain. Defining a saved variable in the ToC just tells WoW to record the named global when logging out...
Forum: Lua/XML Help Yesterday, 04:59 PM
Replies: 3
Views: 113
Posted By SDPhantom
The saved variable is a global. If you define a...

The saved variable is a global. If you define a local with the same name, it won't access it.
Forum: AddOn Help/Support Yesterday, 03:13 AM
Replies: 8
Views: 396
Posted By SDPhantom
I honestly haven't had have any problems using...

I honestly haven't had have any problems using the FocusFrame, but I agree it would be nice for them to have their own UnitID so I can use focus for other targets if needed.
Forum: Lua/XML Help 11-27-14, 04:25 AM
Replies: 41
Views: 1,429
Posted By SDPhantom
What are you checking to see your variables are...

What are you checking to see your variables are saved? If you're checking your options frame, I don't remember you having any code setting up the initial value of your checkbuttons or writing to any...
Forum: Lua/XML Help 11-26-14, 11:46 AM
Replies: 5
Views: 260
Posted By SDPhantom
Can you use tags? It's difficult to see the...

Can you use tags? It's difficult to see the comments with everything looking the same.
Forum: Lua/XML Help 11-26-14, 11:39 AM
Replies: 41
Views: 1,429
Posted By SDPhantom
Wild guess, but did you close the game client and...

Wild guess, but did you close the game client and restart it after modifying the ToC file? While adding files to your addon folder require a complete client restart, changes to the ToC apply when you...
Forum: Lua/XML Help 11-25-14, 08:47 PM
Replies: 41
Views: 1,429
Posted By SDPhantom
It's actually suggested that you have a table of...

It's actually suggested that you have a table of values saved instead of a saved variable for each one. This will reduce the exposure of your addon to the global namespace. The reason keeping the...
Forum: Lua/XML Help 11-25-14, 06:22 PM
Replies: 41
Views: 1,429
Posted By SDPhantom
Forum search...

Forum search works.
http://www.wowinterface.com/forums/showthread.php?t=44038&highlight=saved+variables
Forum: Lua/XML Help 11-25-14, 12:20 PM
Replies: 9
Views: 326
Posted By SDPhantom
My question is, why isn't the script set to run...

My question is, why isn't the script set to run on ZBarButton? Why is there an anonymous button created to handle what the original button was intended for?

Here's my suggestion:

-- Local...
Forum: AddOn Search/Requests 11-24-14, 12:19 AM
Replies: 14
Views: 692
Posted By SDPhantom
I wasn't able to follow that the OnUpdate handler...

I wasn't able to follow that the OnUpdate handler was being controlled in that way. It's not an approach I would've expected.
Forum: Lua/XML Help 11-24-14, 12:06 AM
Replies: 9
Views: 326
Posted By SDPhantom
You can use frame:SetShown()...

You can use frame:SetShown() (http://wowpedia.org/API_Region_SetShown). In combination with this, you can toggle a frame's visibility with the following line.
frame:SetShown(not frame:IsShown())
Forum: AddOn Search/Requests 11-22-14, 04:18 PM
Replies: 14
Views: 692
Posted By SDPhantom
BTW, you don't need to hide the frame. It won't...

BTW, you don't need to hide the frame. It won't render anything if there are no points set or frame size.



Also, unregistering GARRISON_MISSION_FINISHED from GarrisonMissionFrame isn't enough to...
Forum: AddOn Search/Requests 11-22-14, 01:55 PM
Replies: 14
Views: 692
Posted By SDPhantom
Strange, that's the approach I tried the first...

Strange, that's the approach I tried the first time, but it didn't work out for me. I get the feeling this mechanic has more events firing that they aren't exposing to Lua side. Anyway, this is the...
Forum: AddOn Search/Requests 11-22-14, 05:11 AM
Replies: 14
Views: 692
Posted By SDPhantom
I ended up going with a two way approach. When...

I ended up going with a two way approach. When GARRISON_MISSION_NPC_OPENED fires, I run a scanner that reruns itself every half second until there are no completed quests. I also have...
Forum: AddOn Search/Requests 11-21-14, 05:29 PM
Replies: 3
Views: 295
Posted By SDPhantom
/run GarrisonLandingPageMinimapButton:Hide() The...

/run GarrisonLandingPageMinimapButton:Hide()

The button does have an OnShow handler registered, but I don't see any evidence of the method being called anywhere in the default UI. From the handler's...
Forum: AddOn Search/Requests 11-21-14, 02:59 PM
Replies: 14
Views: 692
Posted By SDPhantom
For now, I got the OnFinished handlers on the...

For now, I got the OnFinished handlers on the animations to trigger the next logical step. This makes it play more like a movie without the need for interaction. I might end up hiding the next button...
Forum: Lua/XML Help 11-21-14, 02:48 PM
Replies: 12
Views: 412
Posted By SDPhantom
My post was based off the image that looked to...

My post was based off the image that looked to have precision of AVR.





To continue on the topic of precision and disregarding the fact GetUnitPitch() doesn't work in mouselook (left-dragging the...
Forum: AddOn Search/Requests 11-21-14, 03:43 AM
Replies: 14
Views: 692
Posted By SDPhantom
I've been trying to make this happen myself. The...

I've been trying to make this happen myself. The code I wrote kind of works, but not 100%. I've been running into situations where missions would ignore the request to be marked as turned in and...
Forum: Lua/XML Help 11-20-14, 07:55 PM
Replies: 12
Views: 412
Posted By SDPhantom
Blizzard deliberately broke this addon and others...

Blizzard deliberately broke this addon and others like it that make it look like they're rendering to the 3D world using complex 2D calculations. More specifically, they blocked any attempt to...
Forum: General Authoring Discussion 11-20-14, 02:43 PM
Replies: 10
Views: 1,805
Posted By SDPhantom
I figured as much last night and got a few tests...

I figured as much last night and got a few tests done. There are a few hiccups here and there which requires the code to be run multiple times to get everything done.
Forum: UI Screenshots, Feedback and Design Discussion 11-20-14, 03:30 AM
Replies: 12
Views: 530
Posted By SDPhantom
I may release it later when the code meets my...

I may release it later when the code meets my expectations of quality. Right now, it's considered very early alpha even though I've been using it and its predecessors for more than a few years. The...
Forum: UI Screenshots, Feedback and Design Discussion 11-19-14, 09:10 PM
Replies: 12
Views: 530
Posted By SDPhantom
I think I looked at that one when looking around...

I think I looked at that one when looking around for flight HUDs before I made mine. I wanted a hybrid combat/flight HUD, but none existed. I ended up creating mine in which I codenamed Iron Man,...
Showing results 1 to 25 of 500