<- CRPL reference <- Utility Commands
Arguments | Result | Notation |
---|---|---|
s1, s2, n1, n2, x1, y1 | – |
(backgroundcolor, icon, line1, line2, targetPixelX, targetPixelY)
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 background color of the message, as a string. Permitted values are “RED”, “GREEN”, “BLUE”, “PURPLE”, “CYAN”, “YELLOW”, “GRAY”, “BLACK”
Argument 2 is the icon of the message, as a string. Permitted values are “NONE”, “INFO”, “CRPLCORE”, “COLLECTOR”, “RELAY”, “REACTOR”, “SHIELD”, “OREMINE” ,“SIPHON”, “TERP”, “GUPPY”, “PULSECANNON”, “MORTAR”, “STRAFER”, “BOMBER”, “NULLIFIER”, “SPRAYER”, “BEAM”, “SNIPER”, “FORGE”, “BERTHA”, “THOR”, “EMITTER”, “ANTIEMITTER”, “SPORETOWER”, “RUNNERNEST”, “AETOWER”, “INHIBITOR”, “POWERZONE”, “OREDEPOSIT”, “TOTEM”, “MESSAGEARTIFACT”, “SHIELDKEY”, “RESOURCEPACK”, “TECHARTIFACT”, “AOO”
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't overflow the tag.
Arguments 5 and 6 are the pixel coordinates for the tag to point to, in floating point pixel space.
#Creates a game event tag pointing to the current core's position ShowGameEventTag("RED" "INFO" "Line One" "Line Two" CurrentPixelCoords)