set_assigned_pilot
Sets or clears a live unit’s assigned pilot.
Function
Synopsis
btech.unit.set_assigned_pilot( unit, pilot )
Arguments
DbRef|Object unit- The live unit.
DbRef|Object|nil pilot- A player to assign as the pilot, or
nilto clear the assignment.
Returns
None.