Info ball spawn

The ball will spawn at this entity at the beginning of each round and after each goal score. Several ball spawns can be placed in your map and enabled/disabled through inputs. Only one should be enabled at a time! At the beginning of each round the ball should be spawned somewhere that both teams can reach in an equal amount of time.

You may wish to spawn the ball in a different location after goals. Make sure the new location is obvious so that players don't wonder why it didn't spawn at the round start location, and make sure that the team that was scored upon can reach the new ball location before the other team can.

To accomplish this:

Use three info_ball_spawns, name them Homescored, Roundstart, and Awayscored. Use OnScore outputs from the trigger_goals on the Enable and Disable inputs on the appropriate info_ball_spawns. Use OnBallSpawn outputs from the Homescored and Awayscored ball spawns to disable themselves and re-enable the Roundstart ball spawn. This ensures that the ball will always spawn in the right spot on round starts.