Info target gunshipcrash: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(activator/caller)
 
(20 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{wrongtitle|title=info_target_gunshipcrash}}
{{LanguageBar}}
 
{{CD|CTargetGunshipCrash|base=CPointEntity|file1=1}}
==Entity Description==
[[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.
 
__NOTOC__
Gunship Crash Target


==Keyvalues==
==Keyvalues==
 
{{KV Targetname}}
* {{kv targetname}}
 
* {{kv parentname}}


==Inputs==
==Inputs==
 
{{I|Enable|npc_combinegunship will consider this spot for crashing (default)}}
* {{i targetname}}
{{I|Disable|npc_combinegunship won't consider this spot for crashing}}
 
* {{i parentname}}
 
* '''Enable'''
: Enable the crash target.
 
* '''Disable'''
: Disable the crash target.


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


* {{o targetname}}
==See also==
 
*{{ent|info_target_helicopter_crash}}, an {{ent|npc_helicopter}} counterpart.
[[Category:Entities]]

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