Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Kanegasi
Forum: AddOn Help/Support 05-01-21, 10:10 PM
Replies: 21
Views: 882
Posted By Kanegasi
Any nameplate you see has a valid unit in the...

Any nameplate you see has a valid unit in the form of nameplaten where n goes up to 40. All functions that accept a unit work with nameplate units.

As for looking for nearby guildies, in my...
Forum: AddOn Help/Support 04-30-21, 12:36 PM
Replies: 6
Views: 679
Posted By Kanegasi
You are not limited to that soundkit constant...

You are not limited to that soundkit constant table. If you want to explore all of the possible sound IDs, you can browse https://www.wowhead.com/sounds and use the number in the URL for the sound...
Forum: Macro Help 04-21-21, 02:40 PM
Replies: 3
Views: 669
Posted By Kanegasi
As a disclaimer, WoW Classic uses the same macro...

As a disclaimer, WoW Classic uses the same macro system as main WoW.

There is no option in the macro system that allows checking for cooldowns. Macros aren't Lua, they're a simple set of conditions...
Forum: Lua/XML Help 04-16-21, 07:57 AM
Replies: 8
Views: 586
Posted By Kanegasi
You haven't provided anything in your code about...

You haven't provided anything in your code about how the frame should look. No templates or textures. It exists, but it's effectively invisible and it spans the entire length and width of the screen....
Forum: General Authoring Discussion 04-15-21, 05:20 AM
Replies: 26
Views: 1,532
Posted By Kanegasi
Concerning the very first sentence, what is your...

Concerning the very first sentence, what is your end goal? A pin you can immediately shiftclick to share? I have some custom code I can share later when I get the chance that generates a pin at your...
Forum: PTR General Discussion 04-13-21, 06:17 PM
Replies: 3
Views: 708
Posted By Kanegasi
Those inline arguments are really nice. Still no...

Those inline arguments are really nice. Still no CLEU args though. Hopefully it won't break the arg code on the CLEU wiki page or be too different.
Forum: Lua/XML Help 04-13-21, 12:49 PM
Replies: 1
Views: 428
Posted By Kanegasi
I posted on your MMOC thread, but I'll answer...

I posted on your MMOC thread, but I'll answer here as well. UnitCanAttack will filter for hostile or neutral units, and I'm pretty sure you can't attack yourself so your nameplate will be left alone....
Forum: AddOn Search/Requests 04-06-21, 10:42 PM
Replies: 4
Views: 501
Posted By Kanegasi
It is not possible for players to customize their...

It is not possible for players to customize their name this way. If those are their actual names, you need to report them. Otherwise, you have an RP addon of some kind receiving custom player data...
Forum: AddOn Search/Requests 04-05-21, 03:46 PM
Replies: 2
Views: 412
Posted By Kanegasi
I use CopyPasta...

I use CopyPasta (https://www.curseforge.com/wow/addons/copypasta). It was last updated in 8.1.0 but it still works for me, just enable out-of-date addons or edit the toc file to version 90005 instead...
Forum: Lua/XML Help 04-04-21, 08:54 AM
Replies: 19
Views: 1,767
Posted By Kanegasi
C_PetJournal.SummonPetByGUID...

C_PetJournal.SummonPetByGUID (https://wowpedia.fandom.com/wiki/API_C_PetJournal.SummonPetByGUID)

C_PetJournal table (https://wowpedia.fandom.com/wiki/Category:API_namespaces/C_PetJournal)
Forum: Lua/XML Help 03-18-21, 05:59 PM
Replies: 3
Views: 424
Posted By Kanegasi
Patch 8.2.5 (as well as Classic patch 1.13.3) has...

Patch 8.2.5 (as well as Classic patch 1.13.3) has partically protected SendChatMessage if you're trying to send to SAY, YELL, or CHANNEL. Those three message destinations require a hardware event in...
Forum: Lua/XML Help 03-13-21, 08:58 PM
Replies: 5
Views: 620
Posted By Kanegasi
It was originally just %f, but I edited my post...

It was originally just %f, but I edited my post after their reply to be %.0f instead.
Forum: Lua/XML Help 03-12-21, 09:33 PM
Replies: 5
Views: 620
Posted By Kanegasi
Here you go. I also future-proofed it by...

Here you go. I also future-proofed it by formatting higher numbers, if you ever run into that.

local function FormatValue(val)
if val<1000 then return ("%.0f"):format(val)
elseif val<1000000...
Forum: Lua/XML Help 03-10-21, 10:14 PM
Replies: 6
Views: 1,009
Posted By Kanegasi
Creating objects makes them global by default....

Creating objects makes them global by default. The only exceptions are objects passed into a function and loop objects.

For example, say you have function(self,event), the objects "self" and "event"...
Forum: Lua/XML Help 03-10-21, 05:35 PM
Replies: 6
Views: 1,009
Posted By Kanegasi
A few issues: 1. The second argument of...

A few issues:

1. The second argument of CreateFrame is the global name of the frame. You do not want to create global objects named "btn1" etc. Choose a unique name.

2. Line 5, you're missing...
Forum: AddOn Search/Requests 03-08-21, 06:16 PM
Replies: 2
Views: 794
Posted By Kanegasi
Replace everything you have here with the...

Replace everything you have here with the following:

local f=CreateFrame("frame")
f:RegisterEvent("PLAYER_LOGIN")
f.update=function(frame)
if frame and frame.unit=="player" and frame.portrait...
Forum: Lua/XML Help 03-01-21, 07:31 PM
Replies: 10
Views: 1,175
Posted By Kanegasi
Spec info for enemy players is not available. All...

Spec info for enemy players is not available. All you get is their class, what they look like, and the spells they cast.
Forum: AddOn Search/Requests 02-04-21, 11:11 AM
Replies: 2
Views: 629
Posted By Kanegasi
You can bypass an account mute by not being muted...

You can bypass an account mute by not being muted in the first place.
Forum: AddOn Help/Support 01-24-21, 05:18 PM
Replies: 7
Views: 1,242
Posted By Kanegasi
Lua does not use regex. It has a similar but...

Lua does not use regex. It has a similar but limited engine:

https://wow.gamepedia.com/Pattern_matching

In this case, since I assume you want to keep the comma in the center, you need %d with...
Forum: Lua/XML Help 01-17-21, 03:33 PM
Replies: 3
Views: 1,312
Posted By Kanegasi
I kind of like this, so I made my own. However, I...

I kind of like this, so I made my own. However, I use LiteMount, which recognizes when you can't use a mount and doesn't send out a spellcast event. For those that want a weakaura warning with...
Forum: Lua/XML Help 01-17-21, 10:36 AM
Replies: 3
Views: 1,312
Posted By Kanegasi
You're in the right direction. The way that maw...

You're in the right direction. The way that maw mount counter works is that it loops through all of your mounts and saves each spell ID when it loads, then listens for UNIT_SPELLCAST_SENT and...
Forum: Macro Help 01-13-21, 07:37 PM
Replies: 4
Views: 3,401
Posted By Kanegasi
Ah, my bad. "BATTLEGROUND" was removed a long...

Ah, my bad. "BATTLEGROUND" was removed a long time ago. All instances use "INSTANCE_CHAT" instead.

/run SendChatMessage(string.format("{Triangle} %s {Triangle} -...
Forum: Macro Help 01-13-21, 05:26 PM
Replies: 2
Views: 1,528
Posted By Kanegasi
The "a" table with the numbers contains the...

The "a" table with the numbers contains the marker ids. It only has 6, in order: skull, moon, square, triangle, diamond, and cross. You just need to add the other two, which is 5 for star and 6 for...
Forum: Lua/XML Help 01-10-21, 11:04 PM
Replies: 7
Views: 1,777
Posted By Kanegasi
I was curious what addon had those ebars,...

I was curious what addon had those ebars, googling brought me to your unanswered reddit thread. Since you want to check if the group has 4 or more players, checking the number of members is...
Forum: Lua/XML Help 01-10-21, 09:09 PM
Replies: 7
Views: 1,777
Posted By Kanegasi
local...

local f=CreateFrame("frame")
f:RegisterEvent("GROUP_ROSTER_UPDATE")
f:SetScript("OnEvent",function()
if UnitName("party3")...
Showing results 1 to 25 of 500