Blockland Forums > Help
getting vce to remember what number was set to each player
Lugnut:
--- Quote from: deathrider on March 28, 2012, 05:18:35 PM ---ok ill und out how to it the sarvo also why does the vce manual only have var links in it nothing else?
--- End quote ---
it's broke
phflack:
figured out a way to do this with all VCE
make a variable counter for brick clicks, set <var:br:counter> to the ID
when somebody clicks the brick, loop through and check for their ID, once you get to the counter max, let them set the variable and stuff
when you want to access it, set a variable to 0 (output), random it up to <var:br:counter>, then display <var:br:output>
deathrider:
--- Quote from: phflack on March 28, 2012, 08:32:15 PM ---figured out a way to do this with all VCE
make a variable counter for brick clicks, set <var:br:counter> to the ID
when somebody clicks the brick, loop through and check for their ID, once you get to the counter max, let them set the variable and stuff
when you want to access it, set a variable to 0 (output), random it up to <var:br:counter>, then display <var:br:output>
--- End quote ---
i dont see how that works or im not getting something when you click the brick it sets the number they are given to their blid, yes? but i dont see how it remembers the number?
heres what i have so far. just stuck at remembering the numbers with the blid linked to that number
Blocki:
Go to school and learn grammar and spelling, then people can read your stuff
Gen. Hothauser:
--- Quote from: deathrider on March 29, 2012, 02:00:54 AM ---i dont see how that works or im not getting something when you click the brick it sets the number they are given to their blid, yes? but i dont see how it remembers the number?
heres what i have so far. just stuck at remembering the numbers with the blid linked to that number
--- End quote ---
What resolution did you use for the picture, all my event pictures look stuffty and pixelated.
on topic.
--- Quote from: deathrider on March 29, 2012, 02:00:54 AM ---i dont see how that works or im not getting something when you click the brick it sets the number they are given to their blid, yes? but i dont see how it remembers the number?
heres what i have so far. just stuck at remembering the numbers with the blid linked to that number
--- End quote ---
With saying this, do you mean that it should rememeber the numbers even if that one person leaves the server?
Because that doesn't matter in phflack's event strain. All of his variables are <var:BR:counter>. Br means brick. The variable and any 'rememberance' of the player is saved as a br variable, thus the data is stored into your computer. When you reload your builld, the data will still be there and if clicked by someone who's information was stored, it will still work.