Nuclide
Software Development Kit for id Technology (BETA)
All Classes Functions Variables Typedefs Enumerations Enumerator Modules Pages

About this class

Server-Entity: Physically Simulated Box.

QUAKED func_physbox (0 .5 .8) ? x x x x x x x x x x x x FNCPHYBX_ASLEEP

OVERVIEW

Physics brush.

KEYS

  • "targetname" : Name

TRIVIA

This entity was introduced in Half-Life 2 (2004).

Inheritance diagram for func_physbox:
ncPhysicsEntity

Public Member Functions

void func_physbox (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...
 

Constructor & Destructor Documentation

◆ func_physbox()

void func_physbox::func_physbox ( void  )

Member Function Documentation

◆ Respawn()

void func_physbox::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 ncPhysicsEntity.

◆ SpawnKey()

void func_physbox::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 ncIO.

Reimplemented from ncPhysicsEntity.


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