Info apc missile hint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{wrongtitle|title=info_apc_missile_hint}}
{{LanguageBar}}
{{CD|CInfoAPCMissileHint|file1=weapon_rpg.cpp}}
{{this is a|brush entity|name=info_apc_missile_hint|game=Half-Life 2 series}} It helps guide rockets ({{ent|apc_missile}} fired by the {{ent|prop_vehicle_apc}}. In short, if the missile can hit a target before that target leaves this volume, the missile will steer towards it.


==Entity Description==
{{note|The FGD data lists <code>Enable</code> and <code>Disable</code> inputs, but they do not exist in code.}}
A [[brush entity]] that helps guide rockets fired by the [[Prop vehicle apc]].  


If the missile can hit the specified ''target'' entity within the time it takes the ''target'' to enter and leave the apc_missile_hint brush, the missile will steer towards the ''target''.
== Keyvalues ==
 
{{KV Targetname}}
==Availability==
{{KV|Target|intn=target|target_destination|The entity that the missile will guide towards if the conditions are met.}}
{{in game|brush}} {{game|HL2}}
{{in code|class=class_c_info_a_p_c_missile_hint.html CInfoAPCMissileHint|file=dlls_2hl2__dll_2weapon__rpg_8cpp-source.html hl2_dll\weapon_rpg.cpp}}
 
==Keyvalues==
*{{kv Targetname}}
*{{kv Origin}}
*{{kv Angles}}
*{{kv EnableDisable}}
*'''target'''
:<target_destination> The entity that the missile will guide towards if the conditions are met.
 
==Flags==
None.
 
==Inputs==
*{{i Targetname}}
*{{i EnableDisable}}
 
==Outputs==
*{{o Targetname}}
 
[[Category:Entities]][[Category:Brush Entities]]

Latest revision as of 13:03, 25 September 2024

English (en)Translate (Translate)
C++ Class hierarchy
CInfoAPCMissileHint
CBaseEntity
C++ weapon_rpg.cpp

info_apc_missile_hint is a brush entity available in Half-Life 2 series Half-Life 2 series. It helps guide rockets (apc_missile fired by the prop_vehicle_apc. In short, if the missile can hit a target before that target leaves this volume, the missile will steer towards it.

Note.pngNote:The FGD data lists Enable and Disable inputs, but they do not exist in code.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Target (target) <targetname>
The entity that the missile will guide towards if the conditions are met.