Blockland Forums > Help
VCE amount limit?
(1/4) > >>
Gsterman:
How do I make it in VCE if I only want a bricks amount to go to 8, then it stops adding 1 to the amount?
is this possible?
CheeseDragon:
This should work..

onActivate -> client(orwhatever) -> vceIfVariable [variableName] ==[8]
onVariableTrue -> client -> modVariable [variableName] add [1]
(optional) onActivate -> client -> centerPrint [<var:cl:variableName>]
NASAboy3000:
If my understanding of what he is asking for is correct, it should actually look like this:

onActivate -> client(orwhatever) -> vceIfVariable [variableName] =<[8]
onVariableTrue -> client -> modVariable [variableName] add [1]
NASAboy3000:
No modify button? Anyways I messed up, take the = sign out of the first line so it looks like this:

onActivate -> client(orwhatever) -> vceIfVariable [variableName] < [8]

These events also assume that you are only going up by increments of one.
Gsterman:
Okay, how would I make this affect other bricks?
like i have a brick named x and I want another brick to add to it up to ten?
Navigation
Message Index
Next page

Go to full version