Point message: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| m (Kr0tchet moved page Point message to Point message/en: Moving page to add MultiPage on main page.) |  (This is broken in multiplayer regardless of the game) | ||
| Line 6: | Line 6: | ||
| |type=e0 | |type=e0 | ||
| |engine=2 | |engine=2 | ||
| }} | }} | ||
| {{entity|point_message|type=e0}} It displays a text message in the world, at its origin. | {{entity|point_message|type=e0}} It displays a text message in the world, at its origin. | ||
| {{ModernBug|Does not function in  | {{ModernBug|Does not function in multiplayer. In {{tf2}} and {{csgo}}, [[point_worldtext]] can be used as an alternative.}} | ||
| {{Code class|CMessageEntity|message_entity.cpp}} | {{Code class|CMessageEntity|message_entity.cpp}} | ||
Revision as of 22:39, 12 November 2023
| point_message | |
|---|---|
|  | |
| Type | Point entity | 
| Engine |  Source | 
Template:Entity It displays a text message in the world, at its origin.
Keyvalues
- Entity Message (message) <string>
- Message to show at this point.
- Show message radius (radius) <integer>
- Distance the player must be within to see this message.
- Developer Only? (developeronly) <boolean>
- If set, this message will only be visible when developer mode is on.
Flags
- 1 : Start Disabled
Inputs
- Enable
- Start displaying the message text, if the player is within the message radius.
- Disable
- Stop displaying the message text.
Outputs
See also
- game_text - Displays a custom message directly on the player screen.
- game_text_tf -  Displays a custom HUD message with icons on a specified team's screen. Displays a custom HUD message with icons on a specified team's screen.
- point_worldtext -   A similar entity that displays a custom message in the world with far more flexibility. A similar entity that displays a custom message in the world with far more flexibility.
- training_annotation -  A similar entity that points to a specified location in the world. A similar entity that points to a specified location in the world.
- env_hudhint - Displays a custom HUD message. Commonly used to show key-binds.
- env_message - Displays a pre-defined message on the players screen.


























