Ok, I’m making a game where you can run over people…(they walk randomly).
Here’s my code:
onClipEvent(enterFrame){
move();
}
onClipEvent(enterFrame) {
if(this.hitTest(_root.truck)) {
this.gotoAndStop(10);
}
}
Frame 10 shows the person dead… (it’s a stickman…).
And from my knowledge, dead people don’t move…
So I’m trying to figure out:
How do I stop this stickman from moving when he’s on frame 10?