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

Go to the source code of this file.

Classes

class  NSProjectile
 This entity class represents an interactive projectile. More...
 

Functions

 void (entity, entity) m_pImpact
 
NSProjectile NSProjectile_SpawnDef (string entityDef, NSActor theOwner)
 
NSProjectile NSProjectile_SpawnDefAtPosition (string entityDef, NSActor theOwner, vector vecOrigin, vector vecAngles)
 
NSProjectile NSProjectile_SpawnDefAttachment (string entityDef, NSActor theOwner, int attachmentID)
 

Variables

typedef enumflags
 
float traileffectnum
 

Function Documentation

◆ NSProjectile_SpawnDef()

NSProjectile NSProjectile_SpawnDef ( string  entityDef,
NSActor  theOwner 
)

◆ NSProjectile_SpawnDefAtPosition()

NSProjectile NSProjectile_SpawnDefAtPosition ( string  entityDef,
NSActor  theOwner,
vector  vecOrigin,
vector  vecAngles 
)

◆ NSProjectile_SpawnDefAttachment()

NSProjectile NSProjectile_SpawnDefAttachment ( string  entityDef,
NSActor  theOwner,
int  attachmentID 
)

◆ void()

void ( entity  ,
entity   
)

Variable Documentation

◆ enumflags

typedef enumflags
Initial value:
{
PROJ_CHANGED_ORIGIN_X,
PROJ_CHANGED_ORIGIN_Y,
PROJ_CHANGED_ORIGIN_Z,
PROJ_CHANGED_ANGLES_X,
PROJ_CHANGED_ANGLES_Y,
PROJ_CHANGED_ANGLES_Z,
PROJ_CHANGED_MODELINDEX,
PROJ_CHANGED_SIZE,
PROJ_CHANGED_FRAME,
PROJ_CHANGED_SKIN,
PROJ_CHANGED_EFFECTS,
PROJ_CHANGED_BODY,
PROJ_CHANGED_SCALE,
PROJ_CHANGED_VELOCITY,
PROJ_CHANGED_ANGULARVELOCITY,
PROJ_CHANGED_RENDERCOLOR,
PROJ_CHANGED_RENDERAMT,
PROJ_CHANGED_RENDERMODE,
} nsprojectile_changed_t

◆ traileffectnum

float traileffectnum