Often control of convoys can be complex and event consuming, especially when you want the player to be able to get on and off the vehicles.
Methods using the event editor usually include using lots of 3D area triggers and event conditions.
If you're building a mission using custom files then a simple wac script can help reduce of lot that work.
This script will stop and start a vehicle by detecting the player.
The the vehicle is ssn 1 and meride denotes when the player is on top of the vehicle.
ssncspd = Combat Speed
ssnpspd = Patrol Speed
Set your vehicle to a waypoint, in this case I use a Friendly 5 Ton Truck (F5tonD) then add this script to the WAC
Code:
if meride(1) then
ssncspd(1, 30)
ssnpspd(1, 30)
else
ssncspd(1, 0)
ssnpspd(1, 0)
endif