This is most likely a pretty simple question, but I can't figure out this problem.
I have an event system for breaking through a wall in which there are two seperate ifVariable events.
This is what it looks like:
[0.] onActivate -> Self -> VCE_ifValue [<var:cl:team>] = [2] [1-3]*
[1.] onVariableTrue -> Self -> VCE_modVariable [Health] Subtract [1]
[2.] onVariableFalse -> Client -> BottomPrint [This is a prisoner only action] [3]
[3.] onVariableTrue -> Self -> VCE_ifVariable [Health] <=
- [4-7]*
[4.] onVariableTrue -> Self -> fakeKillBrick [10] -
- [2][5.] onVariableTrue -> Client -> BottomPrint [You bash through the wall] [3]
[6.]onVariableFalse -> Client -> BottomPrint [You feel the wall start to move [3]
[7.] onVariableTrue -> Self -> VCE_modVariable
[Health] Set [10]
The problem is the two boxes marked with a "*".
When you activate the brick it follows all of the onVariableTrue instead of just the first 3. Did I put the wrong thing in that last box?