Since there is a lot of 'talking' in the game, it gets repetitive and annoying. I'll use an example to make it easier to explain.
- Player clicks on door
- A lot of talking happens and the play finds out the name of one of the characters
- Player clicks on door again
- Less talking happens, character name has been changed because the player knows the name from the talking earlier.
I'm going to write a tutorial for this for myself to refer back to....
- In GLOBAL frame write
_global.door1 = 0;
- In last frame of door conversation write
_global.door1 = 1;
- In INVISBLE BUTTON frame write
invisdoor_btn.onRelease = function(){I'm incredibly happy that I've managed this by myself as I am terrible at understanding the grammar of actionscripting.
if (_global.door1 == 1){
gotoAndPlay(750);
}else{
gotoAndPlay(715);
}
}
No comments:
Post a Comment