View Single Post
  #2 (permalink)  
Old 02-28-2008, 03:10 AM
fxbs fxbs is offline
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,810
fxbs is on a distinguished road
again, thank you everybody who helped - that's what i find out:


"When setting time (moving an object) to the right, use this function

int customTime(int a)
{
if(a<0)
return(Time[0]+Period()*60*MathAbs(a));
else return(Time[a]);
}

if you call it with - argument (say customTime(-5)) you are going to get FUTURE time and your object is going to be shifted to the right".

Last edited by fxbs; 02-28-2008 at 09:24 AM.
Reply With Quote