Nuclide
Software Development Kit for id Technology (BETA)
Loading...
Searching...
No Matches

About this class

Server-Entity: Debug Model Animation Cycler.

QUAKED cycler (1 0 0) (-8 -8 -8) (8 8 8)

OVERVIEW

Model animation cycler entity. For development purposes mainly.

KEYS

  • "targetname" : Name
  • "target" : Target when triggered.
  • "killtarget" : Target to kill when triggered.
  • "angles" : Sets the pitch, yaw and roll angles of the model.
  • "sequence" : Sets the animation the model should start in.
  • "model" : Model file that will be displayed by the entity.

NOTES

Upon damage, the cycler will switch between all available animation sequences. This is really for test-maps and showroom entities.

TRIVIA

This entity was introduced in Half-Life (1998).

Inheritance diagram for cycler:
ncSurfacePropEntity

Public Member Functions

void cycler (void)
 
virtual void Respawn (void)
 Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
 
virtual void Pain (entity, entity, int, vector, vector, int)
 Called whenever the entity receives damage.
 

Constructor & Destructor Documentation

◆ cycler()

void cycler::cycler ( void )

Member Function Documentation

◆ Pain()

void cycler::Pain ( entity inflictor,
entity attacker,
int damage,
vector dir,
vector absImpactPos,
int hitBody )
virtual

Called whenever the entity receives damage.

Reimplemented from ncSurfacePropEntity.

◆ Respawn()

void cycler::Respawn ( void )
virtual

Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.

Reimplemented from ncSurfacePropEntity.


The documentation for this class was generated from the following file: