panda_t
06-12-2004, 12:59 PM
Firstly Koolmoves is tremendous, I've been able to make excellent (edit: sounds a bit immodest! I mean they came out how I hoped they would) things without any great technical knowledge.
But I have reached an actionscript/variable impasse, and I need some help. I've been making comedy interactive things, one of which you can see at www.geocities.com/t_clist/jobatronic.html , and they're going fine, but I want to be able to do different endings based on scores for future things. I've been reading around a bit, and tried some actionscript out but can't get it to work. This is what I've been trying:
score = 0; (on an early frame, then)
score ++; (after a correct choice has been made, then, on a frame near the end, something like this)
if (score == 0) {gotoandplay(whatever)}; else (some other condition){some other action};
So what's at fault? Is it my incompetent coding or is Koolmoves the wrong thing to try this in? It's really irritating, because in BASIC this'd be the easiest thing in the world, and I can't help but feel a bit daft for not being able to do it.
All assistance gratefully received, especially any examples of actionscript inserts that would definitely work. Thanks!
But I have reached an actionscript/variable impasse, and I need some help. I've been making comedy interactive things, one of which you can see at www.geocities.com/t_clist/jobatronic.html , and they're going fine, but I want to be able to do different endings based on scores for future things. I've been reading around a bit, and tried some actionscript out but can't get it to work. This is what I've been trying:
score = 0; (on an early frame, then)
score ++; (after a correct choice has been made, then, on a frame near the end, something like this)
if (score == 0) {gotoandplay(whatever)}; else (some other condition){some other action};
So what's at fault? Is it my incompetent coding or is Koolmoves the wrong thing to try this in? It's really irritating, because in BASIC this'd be the easiest thing in the world, and I can't help but feel a bit daft for not being able to do it.
All assistance gratefully received, especially any examples of actionscript inserts that would definitely work. Thanks!