Nuclide
Software Development Kit for id Tech
mapC.h File Reference
#include "../shared/fteextensions.qc"
#include "../shared/global.h"
#include "mapC_math.h"
#include "mapC_weapons.h"

Go to the source code of this file.

Macros

#define QWSSQC
 

Functions

entity spawnClass (string className, vector desiredPos)
 Spawns an entity of a specific class. More...
 
void sendInput (entity target, string inputName, string dataString, entity activator)
 Sends an input (See NSIO::Input) to an entity. More...
 
void entityDamage (entity targetEnt, entity inflictingEnt, entity attackingEnt, string damageDef, string weaponDef, vector damageOrigin, vector damageDir, vector hitLocation)
 Applies damage to a given entity. More...
 
void radiusDamage (vector damageCenter, float damageRange, int damageMin, int damageMax, entity attackingEnt)
 Does damage to all entities within a specified radius with a linear falloff. More...
 
bool isAI (entity entityToCheck)
 Returns true/false depending on if the entity is an AI character. More...
 
bool isAlive (entity entityToCheck)
 Returns true/false depending on if the entity is alive. More...
 
bool isGodMode (entity entityToCheck)
 Returns true/false depending on if the entity is in "god" mode. More...
 
bool isPlayer (entity entityToCheck)
 Returns true/false depending on if the entity is a player. More...
 
bool isSentient (entity entityToCheck)
 Returns true/false depending on if the entity is either a player, or AI character. More...
 
bool isBot (entity entityToCheck)
 Returns true/false depending on if the entity is a bot. More...
 
string timeToString (int realTime, int zoneType, string formatString)
 Returns the current time. More...
 

Macro Definition Documentation

◆ QWSSQC

#define QWSSQC