Info apc missile hint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleanup)
(-added class hierarchy, cleanup)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:info_apc_missile_hint}}
{{LanguageBar}}
{{hl2 brush|info_apc_missle_hint}}
{{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 ==
 
{{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 Targetname}}
{{KV Origin}}
{{KV|Target|intn=target|target_destination|The entity that the missile will guide towards if the conditions are met.}}
{{KV Angles}}
{{KV EnableDisable}}
{{KV|Target|target_destination|The entity that the missile will guide towards if the conditions are met.}}
 
==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.