Nuclide
Software Development Kit for id Technology
point_message Class Reference

About this class

Client-Entity: In-world Debug Text.

QUAKED point_message (0.2 1 0.2) (-8 -8 -8) (8 8 8)

OVERVIEW

Client-side overlay/message that is projected in relation to its position in 3D space.

KEYS

  • "message" : The message to display.
  • "radius" : The radius in which it will appear.

NOTES

Used for zoo and test maps in which less interactive overlays are desired.

TRIVIA

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

Inheritance diagram for point_message:
NSEntity

Public Member Functions

void point_message (void)
 
virtual void SpawnKey (string, string)
 This method handles entity key/value pairs on map load. More...
 
virtual bool CanSpawn (bool)
 Returns if this entity can spawned from the map file. More...
 

Constructor & Destructor Documentation

◆ point_message()

void point_message::point_message ( void  )

Member Function Documentation

◆ CanSpawn()

bool point_message::CanSpawn ( bool  clientSide)
virtual

Returns if this entity can spawned from the map file.

Parameters
clientSideIf it's being spawned on the client-side.

Reimplemented from NSEntity.

◆ SpawnKey()

void point_message::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 NSEntity.


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