The exact function I'm looking for is a way to split a taskforce into two teams that each follow a different script. The idea is for a bus to arrive at a waypoint (done successfully), unload troops (done successfully), troops attack nearest enemy (done successfully) with the busses leaving map and being deleted with the unit delete action (the issue).
Would a workaround be to have the bus and units to start off as different taskforces, the units embark onto the bus, then attack after disembarking while the busses leave elsewhere?