HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can I get fps by using triggers?

06-14-2008, 12:48 PM#1
BestZero
I know I can check it by typing /fps but it's not a point. I wonder if I can get fps(frame rate per second) by triggers. IMO, It's impossible but wanna ask if someone may know the way to get it.
06-14-2008, 12:54 PM#2
TotallyAwesome
I don't think its possible.
06-14-2008, 01:00 PM#3
Captain Griffen
No.
06-14-2008, 04:15 PM#4
Deaod
has anyone ever really tried?
Or do we know the wc3 engine uses frames as a basis for executing JASS code?
because then we could start a timer and create a trigger that runs in 0 seconds (hopefully thats one frame), then check how much time has passed and calculate the fps accordingly.

the biggest problem i can see is the accuracy of JASS timers and the functions for getting the elapsed/remaining time.
06-14-2008, 04:22 PM#5
Captain Griffen
FPS is local. If timers didn't run syncronously, we'd know. Primarily because we'd have given up modding WC3 years ago.
06-14-2008, 08:14 PM#6
Troll-Brain
You can count yourself with triggers, but it's a crazy thing because there are many many special cases.
For example when an unit open the build menu