Author Topic: VCE Value Input GUI  (Read 892 times)

So ever so often, we may be limited to repeatedly clicking something over and over again to store variables on VCE.  I was thinking of a way to make this easier and came up with a way so that values could be entered once.  When this event is called, it puts up a handy little GUI that displays the var that is being affected and a handy little text area so you may type in a value (numerical or non-numerical, depending on the event.)

For instance, If I wanted to store 17 Gold in the bank, the events on the bank brick would go:

OnActivate>>Client>>CenterPrint[You have chosen: Deposit]

OnActivate>>Self>>VCEPromptNumeric>>(Drop down menu for Client, Player, Self or Named Brick)[Gold][minValue] [maxValue]*

OnVCEPromptNumeric>>"BankBrick">>VCEModVariable [Gold] Add [17]

OnVCEPromptNumeric>>Player>>VCEModVariable>>[Gold] Subtract [17]


* At this time, the player typed in the amount (17) and clicked the "Send" button to select his deposit amount.

As you can see this could have a variety of applications.

onActivate>>Self>>VCE_ModVariable [Gold] [+=] [<var:cl:lastmsg>]

Then when you have people using that, then your chat gets flooded up.  The point is to make this cleaner.

Hey, I actually like this idea.
It would make it very useful to use. Chat spam be gone :D

This would either need to have a client sided mod for the GUI or it would need to be downloaded through RTB (which limits what the GUI can have greatly).



bump. Don't let this die.  I'd like to know what kind of features you'd like to see in this.


bump. Don't let this die.  I'd like to know what kind of features you'd like to see in this.
Did I go unheeded?
This would either need to have a client sided mod for the GUI or it would need to be downloaded through RTB (which limits what the GUI can have greatly).

why not just make 12 variable links show up, 0-9, each time it multiplies the counter variable by 10 and adds the ones digit, then a button for clearing a digit, or entering the number

why not just make 12 variable links show up, 0-9, each time it multiplies the counter variable by 10 and adds the ones digit, then a button for clearing a digit, or entering the number
That's a matter of 30 event lines to 3.

That's a matter of 30 event lines to 3.
it'd take you 30? seems like a bit much to me
and i don't see any reason for the lazyness here, once it's evented once you can just save the events and reuse it later, on any server with variables