Nuclide
Software Development Kit for id Tech
func_physbox Class Reference

Server-Entity: Physically Simulated Box. More...

Inheritance diagram for func_physbox:
NSPhysicsEntity

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...
 

Detailed Description

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).

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 NSPhysicsEntity.

◆ 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 NSIO.

Reimplemented from NSPhysicsEntity.


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