Author Topic: Displaying variables  (Read 443 times)

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.

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

In fact, that's the only way I know of displaying VCE vars

<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

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