Another timer question.
by Billy Am · in Torque Game Engine · 07/15/2005 (9:23 pm) · 0 replies
Hi guys
i found out from some help that setTime and getTime methots will do the trick. I got a few more questions however
1) the name of the hud is the parameter to the function new GuiClockHud in the control\client\ui\playGui file right ?
2) so lets say my hud name is HudClock ... how i set the time ? HudClock.setTime(); ? is it right?
3) how i get the time? HudClock.getTime(); ? what will this return ?? int ? double?
thanks alot guys for all ya help :P
billy
i found out from some help that setTime and getTime methots will do the trick. I got a few more questions however
1) the name of the hud is the parameter to the function new GuiClockHud in the control\client\ui\playGui file right ?
2) so lets say my hud name is HudClock ... how i set the time ? HudClock.setTime(); ? is it right?
3) how i get the time? HudClock.getTime(); ? what will this return ?? int ? double?
thanks alot guys for all ya help :P
billy
About the author