func_mortar_field

A func_mortar_field drops mortar shells into its area each time you trigger it. Players hear the whistle of the
shells everywhere on the map, and about 2.5 seconds later the shells land on the ground below and explode one after
the other.
Attributes
targetnameTriggering the entity drops the shells. See Common keys.
m_flSpreadSets how far, in units, each shell can land at random from the aim point.
If you leave this key empty, it is 0 and every shell lands on the same spot.
64m_iCountSets how many shells fall each time you trigger the entity.
If you leave this key empty, it is 0 and no shell falls, but the incoming sound still plays.
1m_fControlPicks the aim point of the shells.
- Random (0) - A random spot in the brush
- Activator (1) - The spot of the player or monster that started the chain of triggers
- Table (2) - The spot that the X Controller and the Y Controller pick across the brush
Random (0)m_iszXControllerWith Table, names the entity, usually a momentary_rot_button, whose position from 0 up to 1 sets where along the X axis of the brush the shells land.
m_iszYControllerWith Table, names the entity whose position from 0 up to 1 sets where along the Y axis of the brush the shells land.
Notes
- Each shell deals 200 blast damage, which reaches up to 500 units
- The player who triggered the field counts as the attacker, so they get the kills of the shells
- Monsters near the aim point hear a danger sound and run from it
See also
func_tankmortar- a gun that fires mortar shellsenv_explosion- an explosion with a fireball and damage- func_mortar_field on TWHL - the Half-Life entity