Author Topic: Minigame Bottom/Chat/Center Print  (Read 1341 times)

In various Medieval/Fantasy RPGs, i've seen a bottomprint function. Most of the time it was a button you pressed, or it was a script that automaticly displays your resources/gold.
Basicly, the idea of what im trying to get at is for a script that makes it so when your in the minigame, it would display a bottomprint or chat or centerprint with whatever you put in it.

So, so i wanted a bottomprint one, You'd put this into the script or RTB pref if it had it:
<color:ffffff>Gold: <var:cl:Gold> - Level: <var:cl:Level> - Experience: <var:cl:Experience>
Then it'd show all those at the bottom of your screen so that you'd be able to see the variable.
 
Any clue if this is possible without making 500 buttons to click?

EDIT: What im basicly saying is a script that makes it bottomprint for that client, showing HIS variable. Pretty much like an OnActivate > Client > BottomPrint, but without the 5000 relays.
« Last Edit: April 16, 2010, 12:15:54 PM by skill4life »

do you know how to make guis


Sure I'll whip this up, sometime later though.



Issue: If you have it have bottom print this goes away until after a while.
« Last Edit: April 16, 2010, 03:24:58 PM by GenaralSkar »



If you use duplicator or event it to where there is bottom print or center print, after that text goes away, it take a while for the text in your script to come back. Relay the text about every 3 seconds.

If you use duplicator or event it to where there is bottom print or center print, after that text goes away, it take a while for the text in your script to come back. Relay the text about every 3 seconds.
It's not set to a relay. It reappears whenever there's a change in a variable, including changing tools.
I could set so it comes back up if there's a timer on the print.

Nevermind, not a good idea. Some don't use GameConnection::____print, and use commandToClient instead, which would be impossible to check for.

Why are there slash commands in the script?
That's a joke question right?
« Last Edit: April 16, 2010, 03:37:40 PM by Chrono »




Edited.
Hm. I'll just tell the people to take out a tool if they want to see there gold and stuff.