This article's documentation is for the "GoldSrc" engine. Click here for more information.

func_mortar_field

From Valve Developer Community
Jump to navigation Jump to search

func_mortar_field is a brush entity available in all GoldSrc GoldSrc games. It's a brush entity that has no collision.

Key Values

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Spread Radius (m_flSpread) <integer>
Defines the accuracy of the bombardment.
Repeat Count (m_iCount) <integer>
Determines how many bombs will be dropped per strike.
Targeting (m_fControl) <choices>
0: Random
1: Activator
2: Table
X Controller (m_iszXController) <targetname>
The name of a momentary_rot_button to provide a relative strike position on the X axis.
Y Controller (m_iszYController) <targetname>
The name of a momentary_rot_button to provide a relative strike position on the Y axis.