point_worldtext
< Es
Jump to navigation
Jump to search
point_worldtext es una entidad de punto disponible en
Counter-Strike: Global Offensive. También disponible en
Team Fortress 2.
Es una entidad que muestra un mensaje en pantalla y su origen.
Uso
point_worldtext muestra un texto específico en una posición del mundo. Puede ser de cualquier tamaño y color, pero su contorno no se puede modificar. Puedes cambiar el texto disparando AddOutput con el parámetro «message» y lo que quieras poner. Si deseas mostrar información importante para que los jugadores estén advertidos de algo, es mejor usar un game_text.
Valores clave
- Entity Message (message) <string>
- Text that should be displayed.
Newlines can be inserted into the text via the newline character \n.
- Text Size (textsize) <float>
- Size of the text. Setting this to 0 will display nothing. Negative values will flip the text upside down.
- Color (color) <color255>
- Color of the text.
Alpha is also parsed if R G B A format is specified. Otherwise, alpha defaults to 255.
- Font (font) <material> (only in

) - Path to the font material sheet
- Orientation (orientation) <integer> (only in
)
- 0: stationary text
- 1: always face the player.
- 2: ignores pitch (looking up/down)
orientation 0) is not centered at origin like other values. Instead, the first character in the message is printed at origin. This will cause your text to "shift" switching to/from 0- Text Spacing X (textspacingx) <float> (only in
) - Spacing between each letter along the X axis. Negative values will invert the text.
- Text Spacing Y (textspacingy) <float> (only in
) - Spacing between each letter along the Y axis. Only used when newlines are inserted into the text.
- Rainbow (rainbow) <boolean> (only in
) - Enables rainbow text. Cannot be modified by
colororSetColorinputs.
Etiquetas
- 1: Empieza desactivado
solución alternativa:Establece alfa en 0 con SetColor.
Entradas
- SetMessage <string> (no en
) - Set the message text.
- SetText <string> (only in
) - Set the message text.
- SetTextSize <float> (only in
) - Set the message text size. Setting this to 0 will hide the text. Negative values will flip the text upside down.
- SetTextSpacingX <float> (only in
) - Set the spacing between letters along the X axis. Negative values will invert the text.
- SetTextSpacingY <float> (only in
) - Set the spacing between letters along the Y axis. Only used when newlines are inserted into the text.
- SetColor <color255> (only in
) - Set the message color.
- SetFont <integer> (only in
) - Set the message font. Accepts values 0 - 11
- SetOrientation <integer> (only in
) - Set the message orientation
- SetRainbow <integer> (only in
) - Enables Rainbow Text
Véase también
- point_message: Una entidad similar que muestra un pequeño mensaje en una ubicación específica del mapa.