Nuclide
Software Development Kit for id Tech
|
Functions | |
void | EntityDef_ReadFile (string filePath) |
void | EntityDef_Init (void) |
string | EntityDef_GetKeyValue (string className, string keyName) |
Retrieves the value of a specific key defined within an EntityDef. More... | |
bool | EntityDef_Precache (string defName) |
NSEntity | EntityDef_SpawnClassname (string className) |
When called will turn the entity 'self' into the specified classname. More... | |
NSEntity | EntityDef_CreateClassname (string className) |
Spawns an entity of a specific class. More... | |
NSEntity | Entity_CreateClass (string className) |
Always returns a valid entity. More... | |
bool | EntityDef_HasSpawnClass (string className) |
Checks if an entity class was defined in an EntityDef. More... | |
void | EntityDef_DebugList (void) |
int | EntityDef_IDFromName (string defName) |
string | EntityDef_NameFromID (int defNum) |
string | EntityDef_GetSpawnData (int defNum) |
Spawns an entity of a specific class.
If class doesn't exist, returns NULL.
className | is the type of class to be instantiated. |