As seen in http://www.mmo-champion.com/threads/...-sizes-in-Grid, it is shown how to change grid profiles based on a raid size of either 10 or more than 10.
Here is the code:
How would one edit the code so that it would appropriately switch between Raid5, Raid10, Raid25 or Raid40? I'm not too good at coding, I have my own 'addon' working so that it runs this, I just wanted to expand upon it! ThanksCode:local f=CreateFrame("Frame") local function set(p) if Grid.db:GetCurrentProfile() ~= p then Grid.db:SetProfile(p) end end f:SetScript("OnEvent",function(s,e) if GetNumRaidMembers() > 10 then set("raid25") else set("raid10") end end) f:RegisterEvent("RAID_ROSTER_UPDATE")
P.S Could not link the thread directly due to post count, there's a space after the first "w".