Template:I BaseCombatCharacter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
({{minititle|BaseCombatCharacter}})
(added physdamagescale)
Line 1: Line 1:
<noinclude>Use this only for {{ent|CBaseCombatCharacter}}s that AREN'T {{ent|CAI_BaseNPC}}s.[[Category:FGD Templates]]
<noinclude>[[Category:FGD Templates|BaseCombatCharacter]]
----</noinclude>{{minititle|BaseCombatCharacter}}
----</noinclude>{{minititle|BaseCombatCharacter}}
{{IO|KilledNPC|Tells the entity it killed something.}}
{{IO|KilledNPC|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.}}
{{IO|physdamagescale|param=float|Scales the damage taken when this NPC is hit by a physics object.}}

Revision as of 06:34, 13 September 2018


BaseCombatCharacter:

KilledNPC
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 the damage taken when this NPC is hit by a physics object.