FPS cap - allfoxwy/UnitXP_SP3 GitHub Wiki

  • /script UnitXP("FPScap", 60);
  • /script message(tostring(UnitXP("FPScap", "get")));

Frames-per-second could be adjusted. Range is from 1 to 500. Zero means no limit.

UnitXP_SP3 FPS cap is different from gxRefresh CVar + Vertical Sync. It is possible to have gxRefresh at 180 (which is the display hardware's refresh rate) and FPS capped at 60. UnitXP_SP3 FPS cap does NOT wait for vertical sync by itself, the in-game video setting could be used.