Log in

View Full Version : Nealry there.


Tariq
24th October 2004, 13:12
Hi,


Small problem on Title Menu Highlights.
I have the command

Pre Command
1: SetHL_BTNH HL_BTN=GPRN2

Post Commands
1: Mov GPRM2, SPRM8
2: if (GPRM1 == 1 ) goto 3
3: JumpSS Features Menu, Live:ROOT Menu
4: if (GPRM1 == 2 ) goto 5
5: JumpSS Features Menu, Live:PTT Menu
6: if (GPRM1 == 3 ) goto 7
7: JumpSS Videos,Songs :Root Menu
8: if (GPRM1 == 4 ) goto 9
9: JumpSS Extras,Title_1 :Root Menu
10: if (GPRM1 == 5 ) goto 11
11: JumpSS Setup:Root Menu

Button Commands
1: [Mov GPRM1, 1 ;LinkTailPGC, button=1]
2: [Mov GPRM1, 2 ;LinkTailPGC, button=2]
3: [Mov GPRM1, 3 ;LinkTailPGC, button=3]
4: [Mov GPRM1, 4 ;LinkTailPGC, button=4]
5: [Mov GPRM1, 5 ;LinkTailPGC, button=5]

What I am trying to do is make the correct button hightlight when I return back to the title menu (which it is doing) however whatever button I press i.e if I press button 3 I am taken to
JumpSS Features Menu, Live:ROOT Menu.

I cant see where I am going wrong please help.

cona812
24th October 2004, 16:39
Your Postcommand list is wrong.

Generaly the Postcommands are executed starting from first going down the list. The second command of your list is if (GPRM1 == 1 ) goto 3, but if GPRM1 is not 1 (GPRM!=1) the next command to execute will be 3: JumpSS Features Menu, Live:ROOT Menu aswell. The other commands are not executed because after the JumpSS command the PGC is left. Change to:[list=1] mov GPRM2, SPRM8 if (GPRM1==1) Goto 7 if (GPRM1==2) Goto 8 if (GPRM1==3) Goto 9 if (GPRM1==4) Goto 10 if (GPRM1==5) Goto 11 JumpSS Features Menu, Live:ROOT Menu JumpSS Features Menu, Live:PTT Menu JumpSS Videos,Songs :Root Menu JumpSS Extras,Title_1 :Root Menu JumpSS Setup:Root Menu[/list=1]The button commands are ok.

Should work

Cona