Template:I BaseCombatCharacter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
----</noinclude>{{minititle|CBaseCombatCharacter}}
----</noinclude>{{minititle|CBaseCombatCharacter}}
{{IO|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.}}
{{IO|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.}}
{{IO|physdamagescale|param=float|Scales the damage taken when this NPC is hit by a physics object.}}
{{IO|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.}}

Revision as of 10:01, 25 September 2024


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.