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

Func mortar field (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{This is a|name=func_mortar_field|e2|engine=1}} It's a brush entity that has no collision. == Key Values == {{Hl1 kv targetname}} {{KV|Spread Radius|intn=m_flSpread|integer...")
 
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
 
Line 1: Line 1:
{{This is a|name=func_mortar_field|e2|engine=1}}  It's a brush entity that has no collision.
{{this is a|brush entity|name=func_mortar_field|engine=GoldSrc}}  It's a brush entity that has no collision.


== Key Values ==
== Key Values ==

Latest revision as of 21:06, 17 May 2024

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.