Line Following in ModKit

So we are using the VEXIQ robot in the RoboFest Parade event. We need to have it do two things:

A. Follow a line reliably.
B . Detect when the float in front has stopped, stop the robot and restart when the robot in front moves.

Suggestions?