|
| enum | Type {
SCP173
, SCP106
, Guard
, ClassD
,
SCP372
, Apache
, MTF
, SCP096
,
SCP049
, Zombie
, SCP5131
, Tentacle
,
SCP860
, SCP939
, SCP066
, PDPlane
,
SCP966
, SCP1048a
, SCP1499
, SCP008
,
Clerk
} |
|
|
CB::NPC | Current173 |
| | The current instance of SCP-173.
|
|
CB::NPC | Current106 |
| | The current instance of SCP-106.
|
|
CB::NPC | Current096 |
| | The current instance of SCP-096.
|
|
CB::NPC | Current5131 |
| | The current instance of SCP-513-1.
|
|
|
void | Delete () |
|
CB::NPC | get_Next () const property |
|
CB::NPC | get_Previous () const property |
|
void | InsertAfter (CB::NPC@) |
|
void | InsertBefore (CB::NPC@) |
|
void | Remove () |
|
void | TeleportCloser () |
|
void | TeleportMTFGroup () |
|
int | FindPath (float x, float y, float z) |
|
int | IsInFacility () |
|
void | FindNextElevator () |
|
void | GoToElevator () |
|
bool | SeesNPC (CB::NPC@ other) |
|
bool | SeesPlayer (bool disableSoundOnCrouch=false) |
|
bool | PlayerSees096Face () |
|
void | PlayMTFSound (CB::Sound@) |
| void | Animate (float startFrame, float endFrame, float speed, bool loop=true) |
| | Animates an NPC.
|
|
void | SetNPCFrame (float frame) |
|
void | FinishWalking (float startFrame, float endFrame, float speed) |
|
void | ChangeNPCTexture (int textureID) |
|
void | ForceSetID (int newID) |
|
float | Find860Angle (CB::Forest@) |
|
void | EnableNPC () |
|
void | DisableNPC () |
|
void | ApplyDifficultySpeedScale () |
|
|
B3D::Entity | Object |
|
B3D::Entity | Object2 |
|
B3D::Entity | Object3 |
|
B3D::Entity | Object4 |
|
B3D::Pivot | Collider |
|
CB::NPC::Type | NPCType |
|
int | ID |
|
float | DropSpeed |
|
int | Gravity |
|
float | State |
|
float | State2 |
|
float | State3 |
|
int | PrevState |
|
int | MakingNoise |
|
float | Frame |
|
float | Angle |
|
CB::Sound | Sound |
|
B3D::Channel | Channel |
|
float | SoundTimer |
|
CB::Sound | Sound2 |
|
B3D::Channel | Channel2 |
|
float | Speed |
|
float | CurrentSpeed |
|
string | Texture |
|
float | Idle |
|
float | Reload |
|
int | LastSeen |
|
float | LastDistance |
|
float | PrevX |
|
float | PrevY |
|
float | PrevZ |
|
CB::NPC | Target |
|
int | TargetID |
|
float | EnemyX |
|
float | EnemyY |
|
float | EnemyZ |
|
carray< CB::Waypoint@> | Path |
|
int | PathStatus |
|
float | PathTimer |
|
int | PathLocation |
|
float | NVX |
|
float | NVY |
|
float | NVZ |
|
string | NVName |
|
float | GravityMultiplier |
|
float | MaxGravity |
|
int | MTFVariant |
|
CB::NPC | MTFLeader |
|
int | IsDead |
|
float | BlinkTimer |
|
int | IgnorePlayer |
|
int | ManipulateBone |
|
int | ManipulationType |
|
string | BoneToManipulate |
|
float | BonePitch |
|
float | BoneYaw |
|
float | BoneRoll |
|
string | NPCNameInSection |
|
int | InFacility |
|
int | CanUseElevator |
|
int | HP |
|
float | PathX |
|
float | PathZ |
|
string | Model |
|
float | ModelScaleX |
|
float | ModelScaleY |
|
float | ModelScaleZ |
|
int | HideFromNVG |
|
int | TextureID |
|
float | CollRadius |
|
float | IdleTimer |
|
int | ChannelIsStream |
|
int | Channel2IsStream |
|
float | FallingPickDistance |
◆ Animate()
| void CB.NPC.Animate |
( |
float | startFrame, |
|
|
float | endFrame, |
|
|
float | speed, |
|
|
bool | loop = true ) |
|
private |
Animates an NPC.
- Parameters
-
| startFrame | The first frame of the desired animation. |
| endFrame | The frame after the last frame of the desired animation. |
| speed | The speed of the desired animation, the speed at which the animation will play is 70fps * speed. |
| loop | Whether or not the animation should loop. |
The documentation for this class was generated from the following file: