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

func_mortar_field

From Valve Developer Community
Revision as of 21:06, 17 May 2024 by PeeBot (talk | contribs) (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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.