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

Functions

NSEntity spawnClass (string className, vector desiredPos)
 Returns a new entity. More...
 
void sendInput (entity target, string inputName, string dataString, entity activator)
 Sends an input (See NSIO::Input) to an entity. 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...