Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Help
»
Displaying variables
« previous
next »
Print
Pages: [
1
]
Author
Topic: Displaying variables (Read 442 times)
MaxNikkos
April 06, 2010, 05:20:53 AM
How do I display variables in a Center/Chat/BottomPrint? I'm pretty sure it can be done, I really need this for my RPG that I'm working on.
Ad Bot
Advertisement
Corbiere
April 06, 2010, 06:04:43 AM
Say if you have a variable called gold in the client
Then you would chatmessage/bottomprint/centreprint:
You have <var:cl:gold> gold!
The <var is the variable start thingy :cl: is the type of variable it is, specified when you do modvariable and gold> is your variable
Corbiere
April 06, 2010, 06:05:16 AM
In fact, that's the only way I know of displaying VCE vars
Deathwishez
April 06, 2010, 12:37:50 PM
<var:target:variable/value>
Var = Variable. This lets the system know you're refering the the VCE.
Target = The host of the variable/value. It will be Player, Client, Minigame, Vehicle, or Brick
Variable/Value = The name of the variable/value
phflack
April 06, 2010, 03:31:50 PM
Quote from: Corbiere on April 06, 2010, 06:05:16 AM
In fact, that's the only way I know of displaying VCE vars
it isn't, try print bricks that have the event to incriment printcount on relay, then onoverflow fire relay to next brick
for variable brick, set one variable to a temp. variable, and decrement that until it is 1, firing relays to the print bricks
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Help
»
Displaying variables