Skip to content

OnHuntEventStart

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private object OnHuntEventStart( EggHuntEvent instance )
{
    Puts( "OnHuntEventStart works!" );
    return null;
}

Location

  • EggHuntEvent::StartEvent()
csharp
private void StartEvent()
{
	if (Interface.CallHook("OnHuntEventStart", this) == null)
	{
		int count = BasePlayer.activePlayerList.Count;
		if (includeBots)
		{
			count = GetCombinedPlayerList(wantBots: true).Count;
//---

Released under the MIT License.