from my recollections, the trailer kneck doesnt look right
the trailer would be disconnected using an addaction
Mightbe better to approach the problem as 2 addons in the same pbo and try to figure out how to attach them, that way disconnecting them would be easy. If you can figure it out then this leaves the door open for towed artillery etc.
How do the jet addons attach their bombs and release them
perhaps have the trailer classed as a weapon and then have the tractor unit add a weapon to itself
This stuffs new to me am just trying to give u ideas, addons is something i have never messed with
another option perhaps, is to have 3 addons in the same pbo and then instead of trying to split or merge the tractor and trailer, the addaction instead deletes the tractor trailer combined and creates a new independant tractor and trailer unit and vice versa
so your addons would be
Tractor-trailer joined together
Tractor unit
Trailer unit
addaction "Unhitch" deletes the combined tractor trailer and replaces it with seperate units
addaction "Hitch" deletes the independants and creates new vehicle tractor trailer combined