Info target gunshipcrash: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed {{DISPLAYTITLE}}, covered by the hl2 point template)
(updates)
Line 1: Line 1:
{{hl2 point|info_target_gunshipcrash}}
{{lang|Info target gunshipcrash}}
[[File:info_target.png|left]]{{hl2 point|info_target_gunshipcrash}} When an {{ent|npc_combinegunship}} is killed, it will attempt to crash at a point specified by an <code>info_target_gunshipcrash</code>.


==Entity description==
{{code class|CTargetGunshipCrash|npc_combinegunship.cpp}}
[[File:info_target.png|left]]Gunship crash target. When a [[npc_combinegunship]] is killed, it will attempt to crash at a point specified by an [[info_target_gunshipcrash]]. {{clr}}


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV BaseEntity|base=1}}
{{KV Parentname}}


==Inputs==
==Inputs==
{{I Targetname}}
{{I EnableDisable}}
{{I Parentname}}
{{I BaseEntity|prel4d=1|base=1}}
{{IO|Enable|Enable the crash target.}}
{{IO|Disable|Disable the crash target.}}


==Outputs==
==Outputs==
{{O Targetname}}
{{IO|OnCrashed|nofgd=1|Fired when a gunship crashes at the target.}}
{{O BaseEntity}}


==See also==
==See also==
* [[npc_combinegunship]] - Entity that use this target.
*{{ent|info_target_helicopter_crash}}, an {{ent|npc_helicopter}} counterpart.
 
[[Category:Entities]]

Revision as of 00:32, 11 September 2018

English (en)Translate (Translate)
Info target.png

Template:Hl2 point When an npc_combinegunship is killed, it will attempt to crash at a point specified by an info_target_gunshipcrash.

C++ In code, it is represented by theCTargetGunshipCrashclass, defined in thenpc_combinegunship.cppfile.

Keyvalues

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.


Outputs

OnCrashed  !FGD
Fired when a gunship crashes at the target.


See also