Nuclide
Software Development Kit for id Technology (BETA)
ncZone Class Reference
Inheritance diagram for ncZone:
ncPointTrigger dod_location target_location

Public Member Functions

void ncZone (void)
 
nonvirtual ncZone CreateZoneBoundsWithDescription (vector minBox, vector maxBox, string zoneDescription)
 
nonvirtual ncZone CreateZoneWithDescription (vector positionCoord, string zoneDescription)
 
nonvirtual void ExpandZoneFromPoint (vector pointPosition)
 
nonvirtual void LimitedZoneFromPoint (vector pointLocation, float limitedSize)
 
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...
 
virtual void Touch (entity)
 Called whenever we're touching another entity. More...
 

Constructor & Destructor Documentation

◆ ncZone()

void ncZone::ncZone ( void  )

Member Function Documentation

◆ CreateZoneBoundsWithDescription()

ncZone ncZone::CreateZoneBoundsWithDescription ( vector  minBox,
vector  maxBox,
string  zoneDescription 
)

◆ CreateZoneWithDescription()

ncZone ncZone::CreateZoneWithDescription ( vector  positionCoord,
string  zoneDescription 
)

◆ ExpandZoneFromPoint()

void ncZone::ExpandZoneFromPoint ( vector  pointPosition)

◆ LimitedZoneFromPoint()

void ncZone::LimitedZoneFromPoint ( vector  pointLocation,
float  limitedSize 
)

◆ Respawn()

void ncZone::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 ncPointTrigger.

◆ SpawnKey()

void ncZone::SpawnKey ( string  keyName,
string  setValue 
)
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 ncIO.

Reimplemented from ncEntity.

◆ Touch()

void ncZone::Touch ( entity  eToucher)
virtual

Called whenever we're touching another entity.

Reimplemented from ncTrigger.


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