Nuclide
Software Development Kit for id Tech
NSSpawnPoint Class Reference

This entity class represents spawnpoints. More...

#include <NSSpawnPoint.h>

Inheritance diagram for NSSpawnPoint:
NSPointTrigger

Public Member Functions

void NSSpawnPoint (void)
 
virtual void Respawn (void)
 Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state. More...
 
virtual void SpawnKey (string, string)
 This method handles entity key/value pairs on map load. More...
 

Detailed Description

This entity class represents spawnpoints.

Constructor & Destructor Documentation

◆ NSSpawnPoint()

void NSSpawnPoint::NSSpawnPoint ( void  )

Member Function Documentation

◆ Respawn()

void NSSpawnPoint::Respawn ( void  )
virtual

Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.

Reimplemented from NSPointTrigger.

◆ SpawnKey()

void NSSpawnPoint::SpawnKey ( string  strKey,
string  strValue 
)
virtual

This method handles entity key/value pairs on map load.

You can easily convert the strValue parameter using the ReadFloat etc. methods that are part of NSIO.

Reimplemented from NSPointTrigger.


The documentation for this class was generated from the following files: