User Tools

Site Tools


crpl:docs:showgameeventtag

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Utility Commands

ShowGameEventTag

ArgumentsResultNotation
s1, s2, n1, n2, x1, y1

Description

(color, 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 colour of the message, from “RED”, “GREEN”, “BLUE”, “PURPLE”, “CYAN”, “YELLOW”, “GRAY”, “BLACK”

Argument 2 is the icon of the message, from “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.

Arguments 5 and 6 are the coords of the message to be displayed in floating point pixel space.

Examples

#Creates a game event tag pointing to the current core's position
"RED" "INFO" "Line One" "Line Two" CurrentPixelCoords
crpl/docs/showgameeventtag.1598980612.txt.gz · Last modified: 2020/09/01 13:16 by nathanaelps