prop_glass_futbol_spawner

From Source Entities
Jump to navigation Jump to search

Code classes:

prop_glass_futbol_spawner is a point entity present in P2.pngPortal 2. This entity can hold and spawn prop_glass_futbols.

Keyvalues[edit | edit source]

Start with Futbol (StartWithFutbol) <boolean>
Spawner will have a ball inside it when the map starts.

Inputs[edit | edit source]

ForceSpawn
Spawns a ball inside the spawner. Bug: If the spawner currently has a ball in it or one held by a player/actively moving about in the map, the spawner will become bugged and always instantly spawn a new ball whenever one is grabbed from it.

Outputs[edit | edit source]

OnFutbolGrabbed
Fires when a ball is taken from the holder when that ball hadn't been grabbed before.
OnFutbolSpawned
Fires when a ball is spawned in the spawner.