Forum | Problem with Labels

You must be logged in to post Login Register

Search Forums:


 






Problem with Labels

No Tags
UserPost

2:01 pm
September 25, 2011


Mowalle

New Member

posts 1

Post edited 2:06 pm – September 25, 2011 by Mowalle



Hello guys!


I'm learning how to script my own cases, and I'm getting along pretty well, but I still have some problems.


Right now I'm stuck with the problem that this Label-Goto-Thing doesn't work for me. I'm trying to make the talk script in the investigation menu, but when the code arrives at the "goto top" there is an error that the label "top" wasn't found.


My code looks similiar to this:

label top
bg phoenixoffice

list scene2PhoenixTalk
li AAA
showlist
menu scene2Phoenix

label AAA
char Phoenix hide
"This is my office."
goto top


The strange thing is if I let out the label thing and do it like that:

bg phoenixoffice

list scene2PhoenixTalk
li AAA
showlist
menu scene2Phoenix

label AAA
char Phoenix hide
"This is my office."
goto scene2PhoenixTalk

it works. I also downloaded Turnabout Substitution as reference, but can't find any differences.

Please help, I'm somhow depressed that I can't get 2 lines of code to work…


Also, there seems to be a bug when you leave the talk, examine etc. with the back-button so that the lower background changes to the upper one. Is there a way to prevent that?

Besides, is there a way yet to make music fade out?


Thanks alot for your help.


PS: Sorry, my english might be bad, I'm tired and it's not my mother language.Cool

No Tags