Hi,
I made an add-on to automatically enable ActionCam with some of my presets when I log in, but every time I do, I get a pop-up asking me to confirm the camera change.
I found that the pop-up is named :
EXPERIMENTAL_CVAR_WARNING
But I can’t find a code to incorporate it.
If anybody has some addon coding knowledge, here is my addon code :
local f = CreateFrame(“Frame”)
f:SetScript(“OnEvent”,function(self,event,…)
SetCVar(“test_cameraOverShoulder”,1)
SetCVar(“test_cameraDynamicPitch”,1)
SetCVar(“test_cameraTargetFocusEnemyEnable”,0)
SetCVar(“test_cameraTargetFocusInteractEnable”,0)
SetCVar(“test_cameraHeadMovementStrength”,1)
end)
f:RegisterEvent(“PLAYER_LOGIN”)
Thank you