The scripting would be much cleaner if this supported helicopters too (check the movement type and use the appropriate orders for heli/ground below).