Info target gunshipcrash: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(activator/caller)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{lang|Info target gunshipcrash}}
{{LanguageBar}}
[[File:info_target.png|left]]{{this is a|point entity|name=info_target_gunshipcrash|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch}} When an {{ent|npc_combinegunship}} is killed, it will attempt to crash at this point.
{{CD|CTargetGunshipCrash|base=CPointEntity|file1=1}}
 
[[File:info_target.png|left]]{{this is a|point entity|name=info_target_gunshipcrash|game=Half-Life 2 series|game1=Portal|game2=Alien Swarm}} When an {{ent|npc_combinegunship}} is killed, it will attempt to crash at this point.
{{code class|CTargetGunshipCrash|npc_combinegunship.cpp}}
__NOTOC__
 
{{clr}}


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


==Inputs==
==Inputs==
{{I EnableDisable}}
{{I|Enable|npc_combinegunship will consider this spot for crashing (default)}}
{{I BaseEntity|prel4d=1|base=1}}
{{I|Disable|npc_combinegunship won't consider this spot for crashing}}


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


==See also==
==See also==
*{{ent|info_target_helicopter_crash}}, an {{ent|npc_helicopter}} counterpart.
*{{ent|info_target_helicopter_crash}}, an {{ent|npc_helicopter}} counterpart.

Latest revision as of 07:41, 24 May 2025

English (en)Translate (Translate)
C++ Class hierarchy
CTargetGunshipCrash
CPointEntity
CBaseEntity
C++ npc_combinegunship.cpp
Info target.png

info_target_gunshipcrash is a point entity available in Half-Life 2 series Half-Life 2 series, Portal Portal, and Alien Swarm Alien Swarm. When an npc_combinegunship is killed, it will attempt to crash at this point.


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

Inputs

Enable
npc_combinegunship will consider this spot for crashing (default)
Disable
npc_combinegunship won't consider this spot for crashing

Outputs

OnCrashed  !FGD
!activator = !caller = this entity
Fired when a gunship crashes at the target.

See also