Thread: Stopwatch
View Single Post
  #8  
Old 08-30-2002, 08:55 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Quote:
Originally posted by Python523
use this for your minute:second.millisecond thing
NPC Code:

if (created) {
time={0,0,0};
timeout = .1;
}
if (timeout) {
time[2]=(time[2]+1)%10;
time[1]=(time[1]+0.1)%60;
time[0]=(time[0]+0.00166666666666666666666666666666667)%60;
setcharprop #c,#v(int(time[0])):#v(int(time[1])).#v(time[2]);
timeout = .1;
}


I would add hours in a similar way but graal doesnt support
2.77777777777777777777777777777778*(10^-5)(10 to the negative fifth power)
Ok, I will, I'm just not to good at math, so I do it the simple scratchy way. but thanks....i have algebra this year, and im only in 9th grade. I understand what you are doing though.
(steals this from jinx)
-Goboom
__________________
Reply With Quote