Forums
a signal from track? - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Cars & Tracks (https://www.vdrift.net/Forum/forumdisplay.php?fid=11)
+--- Thread: a signal from track? (/showthread.php?tid=1485)



a signal from track? - kalana - 04-27-2011

Hi!!
is there way to pass a signal to the game,when a car passes a certain point in the track!!
I mean if i want to indicate that the player has reach 100m in the track,where should i start!! Smile

thanks!! Smile


- NaN - 04-27-2011

TIMER stores LAPINFO per car which contains lapdistance; //total track distance driven this lap in meters, lapdistance is updated in void GAME::UpdateTimer()


- kalana - 04-28-2011

Thanks!! Smile