Thread Tools Display Modes
11-23-23, 08:38 AM   #1
Rienwe
A Murloc Raider
 
Rienwe's Avatar
Join Date: Nov 2023
Posts: 8
Increase cursor size during combat

Hello, I'd like to request for an addon that increase the size of the cursor during combat then put it back in normal size after the combat. I already searched on the internet but didnt find any. Can you please help? It's really hard to see my cursor during big fights. I saw an option ingame to increase the size of the cursor but I dont want my cursor to be always big.
  Reply With Quote
11-24-23, 09:21 AM   #2
wardz
A Deviate Faerie Dragon
 
wardz's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 17
lua Code:
  1. EventRegistry:RegisterFrameEventAndCallback("PLAYER_REGEN_DISABLED", function() C_CVar.SetCVar("cursorSizePreferred", 2) end)
  2. EventRegistry:RegisterFrameEventAndCallback("PLAYER_REGEN_ENABLED", function() C_CVar.SetCVar("cursorSizePreferred", 0) end)
  3. EventRegistry:RegisterFrameEventAndCallback("PLAYER_ENTERING_WORLD", function() C_CVar.SetCVar("cursorSizePreferred", 0) end)


Turn it into an addon by copy pasting the code into this website https://addon.bool.no/

Or you can copy paste it into an addon's lua file you already have installed.


Change the value "2" and "0" you see at the end of the lines into your preferred sizes.
-1=determine based on system/monitor dpi
0=32x32
1=48x48
2=64x64
3=96x96
4=128x128

Last edited by wardz : 11-24-23 at 09:26 AM.
  Reply With Quote
11-27-23, 10:40 AM   #3
Rienwe
A Murloc Raider
 
Rienwe's Avatar
Join Date: Nov 2023
Posts: 8
It works amazing, thank you!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Increase cursor size during combat

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off