Info apc missile hint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (link)
(-added class hierarchy, cleanup)
 
(15 intermediate revisions by 8 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 [[Prop vehicle apc|APC]] missiles guide. If the missile can hit the associated target entity between the time it takes the current enemy to enter and leave the hint, then the missile will guide to the entity.


==Availability==
== Keyvalues ==
{{in game|brush}} {{game|HL2}}
{{KV Targetname}}
{{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}}
{{KV|Target|intn=target|target_destination|The entity that the missile will guide towards if the conditions are met.}}
 
==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.