![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
Item Capture Manager.
While not an item itself, it cares about managing goal/capture items within a game.
An instance of ncCaptureItem will give an item, receive items (capturing) and assign score points.
It can be configured to look like a flag, will give a (separate) inventory item that is unique to the map and can be captured at other ncCapturePoint instances or ncCaptureItem instances.
Public Member Functions | |
void | ncCaptureItem (void) |
virtual void | Precache (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 | Touch (entity) |
Called whenever we're touching another entity. More... | |
virtual void | SpawnKey (string, string) |
This method handles entity key/value pairs on map load. More... | |
nonvirtual void | Captured (float teamNumber) |
nonvirtual void | WatchPlayer (void) |
void ncCaptureItem::ncCaptureItem | ( | void | ) |
void ncCaptureItem::Captured | ( | float | teamNumber | ) |
|
virtual |
Reimplemented from ncEntity.
|
virtual |
Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.
Reimplemented from ncRenderableEntity.
|
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 ncRenderableEntity.
|
virtual |
Called whenever we're touching another entity.
Reimplemented from ncTrigger.
void ncCaptureItem::WatchPlayer | ( | void | ) |