Hi there evreyone,
I'm having a problem with my cutscene. I'm using the non-oops version.
Here's the scene:
My intro screen has 2 buttons.
'View intro' & 'skip intro'.
On clicking 'view intro' naturally the cutscene starts. Something like:
Newroom(2,9,11);
Then on room 2's "first time player enters"
startcutscene(1);
Displayspeech(EGO,"blah blah");
Displayspeech(MAN,"something something");
AnimateCharacter(EGO,3,0,0);
endcutscene();
NewroomEx(3,100,111);
Ok. No problem at all.
If the player clicks "skip intro" the game will start on room 3.
Its fine & the player can control the character progressing the game. But now if the player character goes to room 3, he has to witness the cutscene. As on skipping the cutscene, the player character never went to room 3.
I know there's a ResetRoom feature, by which you can again call the "first time player enters.." event. But what I want is the opposite of that.
Something which will tell the script to assume on clicking "skip intro'Ã, that player has already been in room. I hope I've been able to explain properly.
There's a feature Hasplayerbeeninroom. But its a read only value. You can't set Hasplayerbeeninroom to FALSE or TRUE.
I know this can be achieved by using globalints, but is there another way? I'm already using globalints for many things and I want to avoid using them if I can, as the chance of error increases if there are many variables to track.
I've scanned the help file thoroughly, read he Bfaq and I did a search with the keywords "cutscene" but I didn't find the answer to my problem.
I'd greatly appreciate your help.
Thank you.
I'm having a problem with my cutscene. I'm using the non-oops version.
Here's the scene:
My intro screen has 2 buttons.
'View intro' & 'skip intro'.
On clicking 'view intro' naturally the cutscene starts. Something like:
Newroom(2,9,11);
Then on room 2's "first time player enters"
startcutscene(1);
Displayspeech(EGO,"blah blah");
Displayspeech(MAN,"something something");
AnimateCharacter(EGO,3,0,0);
endcutscene();
NewroomEx(3,100,111);
Ok. No problem at all.
If the player clicks "skip intro" the game will start on room 3.
Its fine & the player can control the character progressing the game. But now if the player character goes to room 3, he has to witness the cutscene. As on skipping the cutscene, the player character never went to room 3.
I know there's a ResetRoom feature, by which you can again call the "first time player enters.." event. But what I want is the opposite of that.
Something which will tell the script to assume on clicking "skip intro'Ã, that player has already been in room. I hope I've been able to explain properly.
There's a feature Hasplayerbeeninroom. But its a read only value. You can't set Hasplayerbeeninroom to FALSE or TRUE.
I know this can be achieved by using globalints, but is there another way? I'm already using globalints for many things and I want to avoid using them if I can, as the chance of error increases if there are many variables to track.
I've scanned the help file thoroughly, read he Bfaq and I did a search with the keywords "cutscene" but I didn't find the answer to my problem.
I'd greatly appreciate your help.
Thank you.