CBaseCombatCharacter: Difference between revisions
Jump to navigation
Jump to search
Gameplayer (talk | contribs) No edit summary |
Gameplayer (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV | {{KV CBaseCombatCharacter}} | ||
==Inputs== | ==Inputs== | ||
{{I BaseCombatCharacter}} | {{I BaseCombatCharacter}} |
Revision as of 09:43, 25 September 2024
![]() |
---|
CBaseCombatCharacter |
![]() |
CBaseCombatCharacter
is the class base used for characters, NPCs and players alike, without AI.
Keyvalues
Template:KV CBaseCombatCharacter
Inputs
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.