Nuclide
Software Development Kit for id Tech
NSEntity.h File Reference

Go to the source code of this file.

Classes

class  NSEntity
 NSEntity is the lowest of the user-accessible entity class. More...
 

Functions

NSEntity NSEntity_SpawnClass (string className, vector spawnOrigin, vector spawnAngles)
 Will spawn a given classname in the type of an NSEntity at a given position and angle. More...
 

Variables

typedef enumflags
 Bitfield enumeration for NSEntity its SendFlags field. More...
 

Function Documentation

◆ NSEntity_SpawnClass()

NSEntity NSEntity_SpawnClass ( string  className,
vector  spawnOrigin,
vector  spawnAngles 
)

Will spawn a given classname in the type of an NSEntity at a given position and angle.

Variable Documentation

◆ enumflags

typedef enumflags
Initial value:
{
BASEFL_CHANGED_MODELINDEX,
BASEFL_CHANGED_ORIGIN_X,
BASEFL_CHANGED_ORIGIN_Y,
BASEFL_CHANGED_ORIGIN_Z,
BASEFL_CHANGED_ANGLES_X,
BASEFL_CHANGED_ANGLES_Y,
BASEFL_CHANGED_ANGLES_Z,
BASEFL_CHANGED_VELOCITY_X,
BASEFL_CHANGED_VELOCITY_Y,
BASEFL_CHANGED_VELOCITY_Z,
BASEFL_CHANGED_ANGULARVELOCITY,
BASEFL_CHANGED_SIZE,
BASEFL_CHANGED_FLAGS,
BASEFL_CHANGED_SOLID,
BASEFL_CHANGED_FRAME,
BASEFL_CHANGED_SKIN,
BASEFL_CHANGED_MOVETYPE,
BASEFL_CHANGED_EFFECTS,
BASEFL_CHANGED_SCALE,
} nsentity_changed_t

Bitfield enumeration for NSEntity its SendFlags field.

These give hint as to which internal fields get networked to the client.