Skip to content

OnHuntEventStart

Usage

  • Return a non-null value or bool to override default behavior

Example Autogenerated

csharp
private void OnHuntEventStart( EggHuntEvent instance )
{
    Puts( "OnHuntEventStart works!" );
}

Location

  • EggHuntEvent::StartEvent()
csharp
private void StartEvent()
{
	if (Interface.CallHook("OnHuntEventStart", this) != null)
	{
		return;
	}
	if (this.initialSpawnIndex <= BasePlayer.activePlayerList.Count)
	{
//---

Released under the MIT License.