This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:showgameeventtag [2020/09/01 17:16] – nathanaelps | crpl:docs:showgameeventtag [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== ShowGameEventTag===== | ===== ShowGameEventTag===== | ||
Line 8: | Line 8: | ||
=== Description === | === Description === | ||
- | (color, icon, line1, line2, targetPixelX, | + | (backgroundcolor, icon, line1, line2, targetPixelX, |
A command that takes six arguments and displays a message on-screen. The message goes into the game events list on the left, but since it's a game event it can be spammed and may often be turned off (in the game options), and this command is ineffective and silent. | A command that takes six arguments and displays a message on-screen. The message goes into the game events list on the left, but since it's a game event it can be spammed and may often be turned off (in the game options), and this command is ineffective and silent. | ||
- | Argument 1 is the colour | + | Argument 1 is the background color of the message, |
- | Argument 2 is the icon of the message, | + | Argument 2 is the icon of the message, |
- | Arguments 3 and 4 are the two lines of the message to be displayed. | + | Arguments 3 and 4 are the two lines of the message to be displayed. The game event tag system has a very limited size, so it is advisable to check that your tag doesn' |
- | Arguments 5 and 6 are the coords of the message | + | Arguments 5 and 6 are the pixel coordinates for the tag to point to, in floating point pixel space. |
=== Examples === | === Examples === | ||
< | < | ||
- | " | + | ShowGameEventTag(" |