이 사이트는 자바스크립트를 사용합니다.
브라우저에서 자바스크립트를 활성화 해주십시오.
라이브
PTR
10.2.7
PTR
10.2.6
베타
Sneaky Stuff I Found
답글 달기
보드 인덱스로 돌아가기
pelf
의 게시글
While looking around in the UI code, I noticed some interesting stuff. You know when you have to put the junk in a macro to suppress errors?
#showtooltip
/console Sound_EnableSFX 0
/cast _____
/run UIErrorsFrame:Clear()
/console Sound_EnableSFX 1
Apparently Blizzard added a shorthand command function for that years ago but never bound it to a slash command for some reason. Here are the two handlers:
-- easier method to turn on/off errors for macros
SlashCmdList = function(msg)
UIErrorsFrame:UnregisterEvent("UI_ERROR_MESSAGE");
SetCVar("Sound_EnableSFX", "0");
end
SlashCmdList = function(msg)
UIErrorsFrame:RegisterEvent("UI_ERROR_MESSAGE");
SetCVar("Sound_EnableSFX", "1");
end
I wrote the following in
_DevPad
to enable them as
/suppresserrors
or
/se
and
/resumeerrors
or
/re
...
local errorsOff = "UI_ERRORS_OFF"
rawset(SlashCmdList, errorsOff, SlashCmdList)
_G = "/suppresserrors"
_G = "/se"
local errorsOn = "UI_ERRORS_ON"
rawset(SlashCmdList, errorsOn, SlashCmdList)
_G = "/restoreerrors"
_G = "/re"
ChatFrame_ImportAllListsToHash()
I never even knew this existed, but
/castglyph
basically lets you script the application of a glyph to a specific slot. The slots are from
1
to
6
like this...
The Glyph UI
There's also a map with some nice slot names; so, you can either specify the slot by number or as
minor
N
or
major
N
.
The syntax is...
/castglyph glyphID|glyphName slotID|slotName
Here are a few more commands I found...
/cancelqueuedspell
which apparently will actually remove the next spell you've queued up in the spell queue. I can't think of what I'd use this for.
/stopspelltarget
will remove the "glowy hand" that is waiting for selection of a target.
And, the last one: when you type
{star}
or
{rt1}
into a chat message, the placeholder is replaced with the appropriate raid icon. It turns out, if you do the same thing using
{group
N
}
or
{g
N
}
, it will print out a list of all the characters in that group with their names class colored. What? How would anyone ever find out about that...
Mike
의 게시글
{group
N
}
or
{g
N
}
, it will print out a list of all the characters in that group with their names class colored.
This is awesome. Nice find. Good for raid leading macros.
답글 달기
로그인이 되어있지 않습니다. 답글을 달려면
로그인
하거나, 계정이 없다면
회원가입
을 해 주세요.