Nuclide
Software Development Kit for id Tech
func_wall_toggle Class Reference
Inheritance diagram for func_wall_toggle:
NSRenderableEntity

Public Member Functions

void func_wall_toggle (void)
 
virtual void Save (float)
 Handles saving a copy of this entity to a given filehandle. More...
 
virtual void Restore (string, string)
 Similar to ::SpawnKey but for save-game fields. More...
 
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 Trigger (entity, triggermode_t)
 Called whenever we're legacy triggered by another object or function. More...
 
virtual void Input (entity, string, string)
 Called when we are being prompted by another object/function with an input message. More...
 

Detailed Description

QUAKED func_wall_toggle (0 .5 .8) ? FTW_STARTHIDDEN

OVERVIEW

Brush that can be hidden and reappear when triggered.

KEYS

  • "targetname" : Name

SPAWNFLAGS

  • FTW_STARTHIDDEN (1) : Start invisible upon spawning.

TRIVIA

This entity was introduced in Half-Life (1998).

Constructor & Destructor Documentation

◆ func_wall_toggle()

void func_wall_toggle::func_wall_toggle ( void  )

Member Function Documentation

◆ Input()

void func_wall_toggle::Input ( entity  eAct,
string  strInput,
string  strData 
)
virtual

Called when we are being prompted by another object/function with an input message.

Reimplemented from NSRenderableEntity.

◆ Respawn()

void func_wall_toggle::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 NSRenderableEntity.

◆ Restore()

void func_wall_toggle::Restore ( string  strKey,
string  strValue 
)
virtual

Similar to ::SpawnKey but for save-game fields.

Whatever you write into file handles within your ::Save() method needs to be read back in here.

Reimplemented from NSRenderableEntity.

◆ Save()

void func_wall_toggle::Save ( float  handle)
virtual

Handles saving a copy of this entity to a given filehandle.

Within you want to use the ::SaveFloat() etc. methods to write the internal member attributes to the specified file handle.

Reimplemented from NSRenderableEntity.

◆ Trigger()

void func_wall_toggle::Trigger ( entity  act,
triggermode_t  state 
)
virtual

Called whenever we're legacy triggered by another object or function.

Reimplemented from NSTrigger.


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