View Full Version : RESUME if movie hasnt played
Dvd@Best
11th February 2005, 22:44
Hi
I am very sorry if that has been answered before , i tried searhing several threads but didnt get the answer i want.
On my chapter index menu i have a button "resume" , i know how to set the RSM in scenarist but just want to know wat if user hasnt played the movie and jumped chapter index menu and hit resume button .
If i keep default command on resume button and movie hasnt played whenver user hit that button the program just get hanged there.
One more thing , on the main menu i have play movie button , i want the player to check if the movie has been played then it shud resume if movie hasnt played then it just start playing frm begigging.
My english is not very good , so some of you guys may found this post weird so i apologize for it in advance.
Regards
DVD@BEST
rody
12th February 2005, 01:38
It's very easy the only thing you have to do is in the pre-command of the movie:
Mov GPRM0, 1
Post-command:
Mov GPRM0, 0
And for the buttoncommand in the mainmenu:
If (GPRM0 == 1) RSM button=0
Play movie option.
Buttoncommand:
LinktailPGC, button=0
Postcommand:
If (GPRM0 == 1) RSM button=0
LinkPGCN MOVIE
Dvd@Best
16th February 2005, 07:31
Thank you for your reply and sorry for replying back late.
I have understood the first part of ur explanation that is :
It's very easy the only thing you have to do is in the pre-command of the movie:
Mov GPRM0, 1
Post-command:
Mov GPRM0, 0
But i was not able to fully understand this part
And for the buttoncommand in the mainmenu:
If (GPRM0 == 1) RSM button=0
My questions:
if i set my "play movie" button to the following command on mainmenu
it will check if GRPM0 == 1, then it will resume , but wat will happen if it is not.?
And how can i set
Buttoncommand:
LinktailPGC, button=0
in scenarist.
Regards
DVD@BEST
rody
16th February 2005, 16:46
It's very easy the only thing you have to do is in the pre-command of the movie:
Mov GPRM0, 1
Post-command:
Mov GPRM0, 0
GPRM0 == 1 means movie on
GPRM0 == 0 means movie off
But i was not able to fully understand this part
And for the buttoncommand in the mainmenu:
If (GPRM0 == 1) RSM button=0
This is for your resume button. It will check if the movie is on and if it is it will resume. So if GPRM0 == 1 resume the movie.
Jump by sub-instructions --> resume check the checkbox compare and select GPRM0 == 1
My questions:
if i set my "play movie" button to the following command on mainmenu
it will check if GRPM0 == 1, then it will resume , but wat will happen if it is not.?
If GPRM0 != 1 (isn't equal to 1) it will resume and you'll stay in the mainmenu.
For the play movie button we have to do something different because we have to assign 2 commands to 1 button and that is not possible.
So we jump to the postcommand and give commands there.
And how can i set
Buttoncommand:
LinktailPGC, button=0
Jump by sub-instructions --> Poscommand of current PGC
Postcommand:
If (GPRM0 == 1) RSM button=0
LinkPGCN MOVIE
The first command works simular as your button resume with the difference that if GPRM0 not equal to 1 it jumps to the second command that jumps to the movie.
What you can do is make 2 menu's 1 with the resume button on it and 1 without it. Set in the precommand of the mainmenu if GPRM0 == 1 jump to the menu with resume button on it.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.