CAI BaseNPC: Difference between revisions
Jump to navigation
Jump to search
(Created blank page) |
No edit summary |
||
Line 1: | Line 1: | ||
== Overview == | |||
Contains functionality common between NPCs and players. | |||
'''Source Location: /game/server/basecombatcharacter.h''' | |||
==[[SendProps|Class Structure]]== | |||
*'''[[CBaseEntity]]''' | |||
**'''[[CBaseAnimating]]''' | |||
***'''[[CBaseAnimatingOverlay]]''' | |||
****'''[[CBaseFlex]]''' | |||
*****'''CBaseCombatCharacter''' | |||
== SendProps == | |||
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;" | |||
|+CAI_BaseNPC | |||
! style="width: 50%; background-color: #303030; color: white" |Name | |||
! style="width: 15%; background-color: #303030; color: white" |Type | |||
! style="width: 35%; background-color: #303030; color: white" |Description | |||
|- | |||
|'''m_lifeState''' | |||
|Integer | |||
| | |||
|- | |||
|'''m_bPerformAvoidance''' | |||
|Boolean | |||
| | |||
|- | |||
|'''m_bIsMoving''' | |||
|Boolean | |||
| | |||
|- | |||
|'''m_bFadeCorpse''' | |||
|Boolean | |||
| | |||
|- | |||
|'''m_iDeathPose''' | |||
|Integer | |||
| | |||
|- | |||
|'''m_iDeathFrame''' | |||
|Integer | |||
| | |||
|- | |||
|'''m_bSpeedModActive''' | |||
|Boolean | |||
| | |||
|- | |||
|'''m_iSpeedModRadius''' | |||
|Integer | |||
| | |||
|- | |||
|'''m_iSpeedModSpeed''' | |||
|Integer | |||
| | |||
|- | |||
|'''m_bImportanRagdoll''' | |||
|Boolean | |||
| | |||
|- | |||
|'''m_flTimePingEffect''' | |||
|Float | |||
| | |||
|} |
Revision as of 00:42, 31 January 2022
Overview
Contains functionality common between NPCs and players.
Source Location: /game/server/basecombatcharacter.h
Class Structure
- CBaseEntity
- CBaseAnimating
- CBaseAnimatingOverlay
- CBaseFlex
- CBaseCombatCharacter
- CBaseFlex
- CBaseAnimatingOverlay
- CBaseAnimating
SendProps
Name | Type | Description |
---|---|---|
m_lifeState | Integer | |
m_bPerformAvoidance | Boolean | |
m_bIsMoving | Boolean | |
m_bFadeCorpse | Boolean | |
m_iDeathPose | Integer | |
m_iDeathFrame | Integer | |
m_bSpeedModActive | Boolean | |
m_iSpeedModRadius | Integer | |
m_iSpeedModSpeed | Integer | |
m_bImportanRagdoll | Boolean | |
m_flTimePingEffect | Float |