Template:I BaseCombatCharacter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<noinclude>Use this only for {{ent|CBaseCombatCharacter}}s that AREN'T {{ent|CAI_BaseNPC}}s.Category:FGD Templates ----</noinclude>{{IO|KilledNPC|Tells the entity it kille...")
 
m (→‎top: Substituted IO templates)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>Use this only for {{ent|CBaseCombatCharacter}}s that AREN'T {{ent|CAI_BaseNPC}}s.[[Category:FGD Templates]]
<noinclude>[[Category:Input Templates|BaseCombatCharacter]]
----</noinclude>{{IO|KilledNPC|Tells the entity it killed something.}}
----</noinclude>{{minititle|CBaseCombatCharacter}}
{{I|KilledNPC|nofgd=1|Tells the entity it killed something. Despite the name, this can include a player. This input will be automatically sent by the victim when they die.}}
{{I|physdamagescale|param=float|Scales damage energy when this character is hit by a physics object. With a value of 0 the NPC will take no damage from physics.}}

Latest revision as of 12:52, 21 April 2025


CBaseCombatCharacter:

KilledNPC  !FGD
Tells the entity it killed something. Despite the name, this can include a player. This input will be automatically sent by the victim when they die.
physdamagescale <float>
Scales damage energy when this character is hit by a physics object. With a value of 0 the NPC will take no damage from physics.