Info apc missile hint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed {{DISPLAYTITLE}}, covered by the hl2 point template. also fixed the incorrect entity name, which really perplexes me how anybody can get that wrong)
(updates)
Line 1: Line 1:
{{hl2 brush|info_apc_missile_hint}}
{{lang|Info apc missile hint}}
{{hl2 brush|info_apc_missile_hint}} 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''.
{{code class|CInfoAPCMissileHint|weapon_rpg.cpp}}
 
{{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==
==Keyvalues==
{{KV Targetname}}
{{KV|Target (target)|target_destination|The entity that the missile will guide towards if the conditions are met.}}
{{KV Origin}}
{{KV BaseEntity|base=1}}
{{KV Angles}}
{{KV EnableDisable}}
{{KV|Target|target_destination|The entity that the missile will guide towards if the conditions are met.}}


==Inputs==
==Inputs==
{{I Targetname}}
{{I BaseEntity|prel4d=1|base=1}}
{{I EnableDisable}}


==Outputs==
==Outputs==
{{O Targetname}}
{{O BaseEntity}}
 
[[Category:Entities]]
[[Category:Brush Entities]]

Revision as of 20:26, 10 September 2018

English (en)Translate (Translate)

Template:Hl2 brush 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.
C++ In code, it is represented by theCInfoAPCMissileHintclass, defined in theweapon_rpg.cppfile.

Keyvalues

Target (target) ([todo internal name (i)]) <targetname>
The entity that the missile will guide towards if the conditions are met.


Inputs

Outputs