Fires when the connection status for a unit has changed.

Signature:

("unitID", hasConnected)

Arguments:

  • unitID - The unit that was affected. (string)
  • hasConnected - Whether or not the unit has connected. (bool)