FlagRush is the new community made, teambased gamemode for Trackmania2020, providing a completely new way to play your favourite racing game with direct player interaction. In FlagRush, two teams fight for a flag and try to bring it to the base of the opposing team to score a point while preventing the other team to do the same.
Real Lerp01(Real _From, Real _To, Real _T) {
declare Real Lerp = (_T - _From) / (_To - _From); // Div by zero possible here
return ML::Clamp(Lerp, 0.0, 1.0);
}
Error:
Context: