Quote:
Originally Posted by Mr.Roboto3335
Would this be correct? (Please don't steal)
}if(miscStick.getRawButton(7)){
piston2extract.set(true);
piston2retract.set(false);
}else if(miscStick.getRawButton(8)){
piston2extract.set(false);
|
move the if off of the brackets.
so its
}
if(){
}
you have it set up
}if(){
}
which gives the false illusion of an else statement. anyway, that wont work for piston 1 because it imminently gets de-fired if piston 2 isnt being fired / retracted.
also, you have no compressor regulator