Lets get right to the point…I LIKE CHOCKOLATE!!! Na! just kittin’ Here is the real point.
Step 1 ~ “When a movieclip (guy) hits another movieclip (dressingroom), go to frame 10″, if thats what you want, type this into the guy.
_____________________________________________________________________________________
In Frame:
if(guy.hitTest(wall)){
gotoAndStop(2);
}
In Movieclip (guy):
TBC
_____________________________________________________________________________________
Step 2 ~ Lets say you have a game where you can fight, if the enemy’s health is all the way down, then put this code inside the frame. Remember, you have to have a variable called enemyHealth.
______________________________________________________________________________________
if(enemyHealth == 0){
gotoAndStop(2);
}
______________________________________________________________________________________
Step 3 ~
The Code was taken from ww.AwestyProductions.com
Thank You Awesty!