Page 1 of 1

gadget:GameProgress

Posted: 05 May 2012, 18:41
by LEDZ
I'm trying to accomplish the function of stating how far behind a player is from catching up with the simulation inside a gadget:
GameProgress() --> "serverFrameNum" ( called every 60 frames, calculating delta between GameFrame and GameProgress can give an ETA about catching up with simulation ) New in 0.83.x
However, GameProgress() doesn't seem to be called at any time (it's in the synced part of my gadget).

Any ideas on this?

Re: gadget:GameProgress

Posted: 05 May 2012, 19:33
by jK
isn't it obvious that this callin is unsynced? (it only gets called when you reconnect and NOT for all players)

Re: gadget:GameProgress

Posted: 05 May 2012, 19:38
by LEDZ
I forgot to mention that I tried using it in unsynced as well; still nothing.

Re: gadget:GameProgress

Posted: 05 May 2012, 20:52
by Licho
you must add it to your widget handler.