Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API DoReadyCheck

Last wiki revision 2022-08-26

Initiates a ready check. DoReadyCheck

This function initiates a raid ready check and will cause all raid members to receive a READY_CHECK event. Processing of the ready check results appear to be either server-side or internal to the client and do not seem to be directly available to the scripting system.

Since there's no event that emits when everyone is ready, you'll have to use CHAT_MSG_SYSTEM events and check if the message contains the string "Everyone is Ready", which is server-sided emitted to the player when everyone is ready in a party.

You can accomplish this by registering the event. local frame = CreateFrame("Frame") --Create the frame frame:RegisterEvent("CHAT_MSG_SYSTEM") --Register the event frame:SetScript("OnEvent", function(self, event, msg) --When the event fires do: if strfind(msg, "Everyone is Ready") then --Check if the System Message contains the string "Everyone is Ready". --Insert code for when all players are ready! end end)

Source

https://warcraft.wiki.gg/wiki/API_DoReadyCheck · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.