OnCargoShipEgress
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnCargoShipEgress( CargoShip instance )
{
Puts( "OnCargoShipEgress works!" );
}
Location
- CargoShip::StartEgress()
csharp
//---
if (this.egressing)
{
return;
}
this.egressing = true;
if (Interface.CallHook("OnCargoShipEgress", this) != null)
{
return;
}
base.CancelInvoke(new Action(this.PlayHorn));
this.radiation.SetActive(true);
//---