I want to get system time for each second .
What Should i do?
for WHAT?!?!?
however. does
CODE
system("time");
help?
same as ewerybody
$A=system "time";
string $B[];
tokenize($A,":,",$B);
print (" current hour :"+$B[1]);
print (" current minute :"+$B[2]);
hey butcherhell!!!
I stopped using tokenize at all!
stringToStringArray seemes much more straightforward imho:
CODE
string $parts[] = stringToStringArray(system "time",":");
print (" current hour :"+$parts[1]);
print (" current minute :"+$parts[2]);
QUOTE
stringToStringArray seemes much more straightforward imho:
Its just a wrapped up tokenize. So your actually calling jsut a convienence wrapper. But yes i prefeer not to tokenize unless i must.
hey guy
thanks But I dont mean It.
I want to Create 30 PolyCube each lasting 2 secound
What shoud I do?
you may work in interactive mode and with a scriptJob you can check currenttime of scene.
Or just set the timeline to show seconds? Or just set keyframe with time values that have sec after their time values to signify seconds...
Depends on how you want to do it really.