Overview
Contains functionality common between NPCs and players.
Source Location : /game/server/basecombatcharacter.h
SendProps
CBaseCombatCharacter
Name
|
Type
|
Description
|
m_bGlowEnabled
|
Boolean
|
Whether or not to render a team colored outline around this entity.
|
bcc_localdata
|
m_flNextAttack
|
Float
|
A timestamp for when this entity is ready to attack. (Weapon switches modify this time.)
|
|
m_hActiveWeapon
|
Integer
|
The weapon this entity is currently using.
|
m_hMyWeapons
|
000
|
Integer
|
An array of weapon handles this entity posesses
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
004
|
Integer
|
|
005
|
Integer
|
|
006
|
Integer
|
|
007
|
Integer
|
|
008
|
Integer
|
|
009
|
Integer
|
|
010
|
Integer
|
|
011
|
Integer
|
|
012
|
Integer
|
|
013
|
Integer
|
|
014
|
Integer
|
|
015
|
Integer
|
|
016
|
Integer
|
|
017
|
Integer
|
|
018
|
Integer
|
|
019
|
Integer
|
|
020
|
Integer
|
|
021
|
Integer
|
|
022
|
Integer
|
|
023
|
Integer
|
|
024
|
Integer
|
|
025
|
Integer
|
|
026
|
Integer
|
|
027
|
Integer
|
|
028
|
Integer
|
|
029
|
Integer
|
|
030
|
Integer
|
|
031
|
Integer
|
|
032
|
Integer
|
|
033
|
Integer
|
|
034
|
Integer
|
|
035
|
Integer
|
|
036
|
Integer
|
|
037
|
Integer
|
|
038
|
Integer
|
|
039
|
Integer
|
|
040
|
Integer
|
|
041
|
Integer
|
|
042
|
Integer
|
|
043
|
Integer
|
|
044
|
Integer
|
|
045
|
Integer
|
|
046
|
Integer
|
|
047
|
Integer
|
|
|
Entity DataMaps
CBaseCombatCharacter
Name
|
Type
|
Description
|
InputKilledNPC
|
|
|
m_CurrentWeaponProficiency
|
|
|
m_HackedGunPos
|
|
|
m_LastHitGroup
|
|
|
m_Relationship
|
|
|
m_RelationshipString
|
|
|
m_bForceServerRagdoll
|
|
|
m_bPreventWeaponPickup
|
Boolean
|
Is this entity allowed to acquire weapons? For players this doesn't just include picking up weapons off the ground, but also prevents weapons from being assigned on spawn or resupply.
|
m_bloodColor
|
|
|
m_eHull
|
|
|
m_flDamageAccumulator
|
|
|
m_flFieldOfView
|
|
|
m_flNextAttack
|
Float
|
A timestamp for when this entity is ready to attack. (Weapon switches modify this time.)
|
m_hActiveWeapon
|
Handle
|
The weapon this entity currently has equipped
|
m_hMyWeapons
|
Array (Handle)
|
An array of weapons this entity possesses
|
m_iAmmo
|
|
|
m_iDamageCount
|
Integer
|
How many times this entity has taken damage
|
m_impactEnergyScale
|
|
|