CBaseCombatCharacter
Jump to navigation
Jump to search
![]() |
---|
CBaseCombatCharacter |
![]() |
CBaseCombatCharacter
is the class base used for characters, NPCs and players alike, without AI.
Keyvalues
- Relationship (relationship) <string> !FGD
- Changes whether this NPC likes or dislikes certain others. Used like the ai_relationship entity, with this NPC as the subject. Format:
<string|targetname or classname> <string|disposition> <int|rank>
. - Values for
disposition
are:D_HT
: HateD_FR
: FearD_LI
: LikeD_NU
: Neutral
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.