Hello! I would love the addition of the hook OnCargoShipEgress for notifying players when the cargoship is leaving
Add OnCargoShipEgress
Lang File
Lang: ["CargoShipLeaveMap"] = "Cargo Ship is leaving the map{0}",
Hook Method
void OnCargoShipEgress(CargoShip cargoShip)
{
if (cargoShip == null || cargoShip.IsDestroyed) return;
SendInboundMessage(Lang("CargoShipLeaveMap", null, Location(cargoShip.transform.position)), configData.alerts.cargoShip);
}