Nuclide
Software Development Kit for id Tech
cycler Class Reference

Server-Entity: Debug Model Animation Cycler. More...

Inheritance diagram for cycler:
NSSurfacePropEntity

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. More...
 
virtual void Pain (entity, entity, int, vector, int)
 Called whenever the entity receives damage. More...
 

Detailed Description

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).

Constructor & Destructor Documentation

◆ cycler()

void cycler::cycler ( void  )

Member Function Documentation

◆ Pain()

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

Called whenever the entity receives damage.

Reimplemented from NSSurfacePropEntity.

◆ 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 NSSurfacePropEntity.


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