How do I give control of a leaver's Units to the remaining players?

//ads -- adsterra.com -- native banner
?>
I am making a StarCraft 1 map in ScmDraft Editor which should be same as StarEdit.
What is the trigger to give a leaver's units and buildings to remaining players instead of leaving them unusable/team-less?
Pictures about "How do I give control of a leaver's Units to the remaining players?"



The mighty mathematics of the lever - Andy Peterson and Zack Patterson
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, Zulian Yuliansyah, Charles Parker, Pixabay