Blockland Forums > Suggestions & Requests
Allow -1 for display time in center and bottom print
Demian:
I need the bottom/center print to stay on screen (thus time -1) until I disable it with an empty center/bottom print that has a time of 0.
Port:
It might just be me being tired, but I'm pretty sure that using a value of 0 acts as an infinite message. You could use message clearing events to get rid of it afterwards.
Awdax:
Nope, I just tested it out and it just resets it back to 1.
pecon98:
I know that if you use the centerprint function without inputting the variable for time then it will last forever.
--- Code: ---registerOutputEvent("GameConnection", infiniteCenterPrint, "STRING 150 200",0);
function Gameconnection::infiniteCenterPrint(%this, %string)
{
%this.centerprint(%string);
}
--- End code ---
And then bottomprint is just as easy.
--- Code: ---registerOutputEvent("GameConnection", infiniteBottomPrint, "STRING 150 200",0);
function Gameconnection::infiniteBottomPrint(%this, %string)
{
%this.Bottomprint(%string);
}
--- End code ---
mr. pedophile:
What about a relay?