Author Topic: Vairiable Help  (Read 617 times)

I'm starting to use variables more and more, but I would like to know how to have it show in a chat-message, a center print, or a bottom print.

So on a brick,
OnActivate > Client > Bottomprint > Show value for "Money"

Can someone explain how I could do this, if possible?

What version of variables are you using? The VCE ones? or the older rediculous if ones?

What version of variables are you using? The VCE ones? or the older rediculous if ones?
VCE

I believe if you put the <var:WHERE YOU ASSIGNED:VARIABLE NAME>  in the bottom print (E.G. "You have <Var:Cl:Wood> wood".  I think that might work. I cant remember though./

I believe if you put the <var:WHERE YOU ASSIGNED:VARIABLE NAME>  in the bottom print (E.G. "You have <Var:Cl:Wood> wood".  I think that might work. I cant remember though./
I tried, but it didn't work.


What's a vairiable?
Its a typo, get over it, there is no edit button.


Yuo gota use the chat message to show the <var:cl:???> . Bottom print and center print won't show variables.


Ok, if you still haven't gotten it to work, look at this.

So say you want the money variable for an rpg to be gold. I am going to use 'Gold' as the example.

This should be a good method:
Onactivate>client(if you have the newest)>modvariable> Gold Add 1-- or whatever
Onactivate>client>(centerprint, bottomprint, or chatmessage)> You mine 1 gold, you now have <var:client(or 'cl'):Gold!

It would show up as," You mine 1 gold, you now have 1 Gold", and the more you click it would go up with it.

Got it working.

Thanks guys.
Locked