I'm trying to make an
if - else if - else if - else
chain but it doesn't work. The first "else if" seems to be ignored.
I see the manual says:
t can also follow another Else event with other conditions to make an "if - else if - else" chain.
So is that the only type of chain possible? ie. a chain with only one "else if" part? Could this be a bug or am I doing something wrong?
http://dl.dropbox.com/u/8367729/construct/else%20problem.capx
Develop games in your browser. Powerful, performant & highly capable.
Fixed and commented.
Fixed and commented. I don't think that's fixed so much as it is worked around - a proper "else" implementation would work just as ramones had it setup, CC being included in that it handles this case properly.
I don't think that's fixed so much as it is worked around - a proper "else" implementation would work just as ramones had it setup, CC being included in that it handles this case properly.
Thanks Kyatric, I understand how it works now. Yeah I think it would be better if it worked like a proper else statement. I want to apply one of ten different textures depending on a number of conditions and it means a lot of indenting.
I personaly don't mind indents, especialy that now we can collapse them.
Anyway, time to attracts Ashley's attention on the matter and see what he thinks of that.
The advanced sheets features are still young.