Nuclide
Software Development Kit for id Tech
api.qc File Reference

Functions

void SVPF_game_LoadNextMap (void)
 
void SVPF_game_CleanUpMap (void)
 
string SVPF_game_GetMap (void)
 
string SVPF_game_GetNextMap (void)
 
void SVPF_game_TeleportToSpawn (entity targetClient)
 
void SVPF_game_SetSpawnPoint (string spawnPoint)
 
int SVPF_actor_GetReserveAmmo (NSActor targetActor, int ammoID)
 
bool SVPF_actor_MaxAmmo (NSActor targetActor, int ammoID)
 
string SVPF_actor_GetInventory (NSActor targetActor)
 
string SVPF_util_TimeToString (int realTime, int zoneType, string formatString)
 
bool SVPF_exists_InPVS (entity testEntity, vector testCoord)
 
bool SVPF_exists_InMap (string className)
 
bool SVPF_exists_InVFS (string fileName)
 
void SVPF_combat_Damage (entity targetEnt, entity inflictingEnt, entity attackingEnt, string damageDef, vector damageOrigin, vector damageDir, vector hitLocation)
 
void SVPF_combat_RadiusDamage (vector damageCenter, float damageRange, int damageMin, int damageMax, entity attackingEnt, string strDamageDecl)
 
void SVPF_combat_Obituary (string targetName, string attackerName, string weaponDef, string meansOfDeath)
 

Function Documentation

◆ SVPF_actor_GetInventory()

string SVPF_actor_GetInventory ( NSActor  targetActor)

◆ SVPF_actor_GetReserveAmmo()

int SVPF_actor_GetReserveAmmo ( NSActor  targetActor,
int  ammoID 
)

◆ SVPF_actor_MaxAmmo()

bool SVPF_actor_MaxAmmo ( NSActor  targetActor,
int  ammoID 
)

◆ SVPF_combat_Damage()

void SVPF_combat_Damage ( entity  targetEnt,
entity  inflictingEnt,
entity  attackingEnt,
string  damageDef,
vector  damageOrigin,
vector  damageDir,
vector  hitLocation 
)

◆ SVPF_combat_Obituary()

void SVPF_combat_Obituary ( string  targetName,
string  attackerName,
string  weaponDef,
string  meansOfDeath 
)

◆ SVPF_combat_RadiusDamage()

void SVPF_combat_RadiusDamage ( vector  damageCenter,
float  damageRange,
int  damageMin,
int  damageMax,
entity  attackingEnt,
string  strDamageDecl 
)

◆ SVPF_exists_InMap()

bool SVPF_exists_InMap ( string  className)

◆ SVPF_exists_InPVS()

bool SVPF_exists_InPVS ( entity  testEntity,
vector  testCoord 
)

◆ SVPF_exists_InVFS()

bool SVPF_exists_InVFS ( string  fileName)

◆ SVPF_game_CleanUpMap()

void SVPF_game_CleanUpMap ( void  )

◆ SVPF_game_GetMap()

string SVPF_game_GetMap ( void  )

◆ SVPF_game_GetNextMap()

string SVPF_game_GetNextMap ( void  )

◆ SVPF_game_LoadNextMap()

void SVPF_game_LoadNextMap ( void  )

◆ SVPF_game_SetSpawnPoint()

void SVPF_game_SetSpawnPoint ( string  spawnPoint)

◆ SVPF_game_TeleportToSpawn()

void SVPF_game_TeleportToSpawn ( entity  targetClient)

◆ SVPF_util_TimeToString()

string SVPF_util_TimeToString ( int  realTime,
int  zoneType,
string  formatString 
)