wfz
10-13-2008, 08:57 PM
if condition 1 do something
else if condition 2
if sub-condition 2.1 do something
else if sub-condition 2.2 do something
I can't figure out why the following does not work
if (a == 1) {
// do something
} else if (a == 0) {
if (_currentFrame == endFrame) {
// do something
}else {
// do something
}
}
else if condition 2
if sub-condition 2.1 do something
else if sub-condition 2.2 do something
I can't figure out why the following does not work
if (a == 1) {
// do something
} else if (a == 0) {
if (_currentFrame == endFrame) {
// do something
}else {
// do something
}
}