Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: semlar
Forum: General Authoring Discussion Yesterday, 05:16 PM
Replies: 33
Views: 27,216
Posted By semlar
My old script that hid your frame before...

My old script that hid your frame before repositioning it is no longer necessary, and will in fact probably result in worse performance since textures are unloaded from memory when they're hidden and...
Forum: Lua/XML Help 07-23-16, 05:41 PM
Replies: 6
Views: 174
Posted By semlar
If the person who wrote it thought it was worth...

If the person who wrote it thought it was worth the extra effort to implement, it probably wouldn't be a good idea to take it out just to simplify the code, at least not unless you're quite certain...
Forum: Legion Beta General Discussion 07-23-16, 04:02 AM
Replies: 4
Views: 125
Posted By semlar
Something like this would probably work. local...

Something like this would probably work.
local...
Forum: Legion Beta General Discussion 07-23-16, 02:53 AM
Replies: 4
Views: 125
Posted By semlar
It was renamed to CooldownFrame_Set, you should...

It was renamed to CooldownFrame_Set, you should be able to just swap them out.
Forum: Legion Beta API and Graphics Changes 07-22-16, 06:03 PM
Replies: 16
Views: 969
Posted By semlar
It takes an item ID as an argument, but it...

It takes an item ID as an argument, but it appears to work fine on live.

eg. C_Transmog.GetItemInfo(2912) returns true, nil, true

If the item isn't cached you may need to call it a second time.
Forum: AddOn Help/Support 07-21-16, 06:53 AM
Replies: 8
Views: 242
Posted By semlar
https://gfycat.com/NastyUnderstatedArrowcrab If...

https://gfycat.com/NastyUnderstatedArrowcrab

If this doesn't work for you, you have something changing your setting. Make sure you're out of combat when attempting to modify any nameplate cvars,...
Forum: AddOn Help/Support 07-21-16, 03:38 AM
Replies: 8
Views: 242
Posted By semlar
Correct, it's hidden in elvui in anticipation of...

Correct, it's hidden in elvui in anticipation of it simply confusing users.

That cvar is called "nameplateResourceOnTarget", 0 puts it under you, 1 puts it on your target.

/run...
Forum: Lua/XML Help 07-21-16, 03:32 AM
Replies: 4
Views: 178
Posted By semlar
https://wow.gamepedia.com/Pattern_matching this...

https://wow.gamepedia.com/Pattern_matching this page might help explain it better.

The pattern would just be string:match("^NamePlate%d+UnitFrame$")
Forum: Macro Help 07-19-16, 01:06 PM
Replies: 9
Views: 170
Posted By semlar
He just means you can replace #t-1 with #t, it...

He just means you can replace #t-1 with #t, it doesn't change the functionality but it saves a couple characters in the macro.
Forum: Macro Help 07-19-16, 11:30 AM
Replies: 9
Views: 170
Posted By semlar
I'm not really sure what you're asking, if you...

I'm not really sure what you're asking, if you want to output the names on separate lines you can do it like this..
/run local...
Forum: Lua/XML Help 07-19-16, 11:23 AM
Replies: 4
Views: 187
Posted By semlar
You can get the original metatable of the frame...

You can get the original metatable of the frame and set that as your new metatable's metatable, eg.
local f = CreateFrame('frame')
local mt = {
foo = function()
print('bar')
end
}
setmetatable(f,...
Forum: Macro Help 07-19-16, 10:46 AM
Replies: 9
Views: 170
Posted By semlar
That function is specifically for "task" quests...

That function is specifically for "task" quests and won't work for you. It's possible to get a quest name from a quest ID through tooltip scanning, but not in a way that would shorten your macro.
Forum: Lua/XML Help 07-19-16, 10:00 AM
Replies: 5
Views: 620
Posted By semlar
If an addon does disable the blizzard nameplates,...

If an addon does disable the blizzard nameplates, and you disable that addon, it has no way of turning them back on, so you will need to do it manually if you want to get them back.
Forum: Lua/XML Help 07-18-16, 11:21 PM
Replies: 5
Views: 620
Posted By semlar
You can disable the blizzard nameplates...

You can disable the blizzard nameplates completely by simply using DisableAddOn('Blizzard_NamePlates') and reloading your interface.

They can be re-enabled with EnableAddOn('Blizzard_NamePlates').
Forum: Legion Beta AddOn Help & Feedback 07-15-16, 11:36 AM
Replies: 8
Views: 407
Posted By semlar
You can track your pets through combat log events...

You can track your pets through combat log events (probably SPELL_SUMMON), and mask their flags for ownership to see if they belong to the player.

Insert their GUID into a table when they spawn and...
Forum: Legion Beta API and Graphics Changes 07-15-16, 11:20 AM
Replies: 3
Views: 261
Posted By semlar
Merged realms allow you to have players that are...

Merged realms allow you to have players that are technically on a separate server in your guild.

I had to do something similar to this to mark guild members on their nameplates, but I think I just...
Forum: Lua/XML Help 07-11-16, 11:50 AM
Replies: 24
Views: 594
Posted By semlar
You can run code in response to someone joining...

You can run code in response to someone joining or leaving the group because you can set a unit watch or state driver for any valid unit ID, eg. [raid1,exists].

If this is for unit frames you can...
Forum: Lua/XML Help 07-08-16, 01:55 AM
Replies: 6
Views: 231
Posted By semlar
There's already a frame for this, it's called the...

There's already a frame for this, it's called the BattlefieldMinimap and it comes up when you push shift+M.

You can see how it's created here (xml)...
Forum: Legion Beta API and Graphics Changes 07-03-16, 07:37 AM
Replies: 72
Views: 3,090
Posted By semlar
It was probably added after we complained to a...

It was probably added after we complained to a dev on irc about losing GetModel, although I don't recall him mentioning anything about it.

Don't rely on those diffs being 100% accurate; they were...
Forum: Legion Beta API and Graphics Changes 07-03-16, 04:35 AM
Replies: 72
Views: 3,090
Posted By semlar
I'm assuming these numbers represent essentially...

I'm assuming these numbers represent essentially the same thing that the file paths did, and I wouldn't expect them to change between patches unless they change the model.
Forum: Legion Beta API and Graphics Changes 07-03-16, 04:14 AM
Replies: 72
Views: 3,090
Posted By semlar
It looks like you can actually just call...

It looks like you can actually just call model:GetModelFileID() as a drop-in replacement for GetModel. You'll just have to map out the IDs for the different races.

Some quick numbers..
ModelFileIDs...
Forum: Legion Beta API and Graphics Changes 07-03-16, 03:40 AM
Replies: 72
Views: 3,090
Posted By semlar
If you want to store the scale for specific NPCs...

If you want to store the scale for specific NPCs you can get their npcID from UnitGUID and use that as an identifier.

It won't be as broad as specifying a scale for a specific model that's shared...
Forum: Legion Beta API and Graphics Changes 07-03-16, 02:53 AM
Replies: 72
Views: 3,090
Posted By semlar
I have no idea what you're talking about since I...

I have no idea what you're talking about since I was referring to the reddit post ketho linked to, which was talking about needing to scale the size of quest givers to be more realistic.
Forum: Legion Beta API and Graphics Changes 07-02-16, 06:38 PM
Replies: 72
Views: 3,090
Posted By semlar
GetDisplayInfo returns the value of...

GetDisplayInfo returns the value of SetDisplayInfo. You can't get a displayID from a unit because they don't have one, or at least not in the same sense as that api function.

I only skimmed over...
Forum: Legion Beta API and Graphics Changes 07-01-16, 11:03 PM
Replies: 16
Views: 969
Posted By semlar
This doesn't appear to work on any item I've...

This doesn't appear to work on any item I've tried it with; all non-transmogrifiable items I checked still return the category that they would fall into based on their weapon type.

Localization...
Showing results 1 to 25 of 500