Skip to content

OnRemoveDying

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnRemoveDying( GrowableEntity instance, BasePlayer receiver )
{
    Puts( "OnRemoveDying works!" );
}

Location

  • GrowableEntity::RemoveDying(BasePlayer receiver)
csharp
//---
	}
	if (this.Properties.removeDyingItem == null)
	{
		return;
	}
	if (Interface.CallHook("OnRemoveDying", this, receiver) != null)
	{
		return;
	}
	if (this.Properties.removeDyingEffect.isValid)
	{
//---

Released under the MIT License.