Place <text> goto <roomname>
Anonymous
15 Jul 2003, 18:54If I use something like
Place <out small door> goto <back room>
Where back room is an actual room in the game, I get a message in my asl log
no such room "out back door "
(and it does'nt work obviously)
The only way I have been able to get this command to work is by using this
Place <back room>
Place <out small door> goto <back room>
Where back room is an actual room in the game, I get a message in my asl log
no such room "out back door "
(and it does'nt work obviously)
The only way I have been able to get this command to work is by using this
Place <back room>
Alex
15 Jul 2003, 21:48I just pasted that into an ASL file and it works perfectly for me, so I don't know why it's not working for you. If you send me your whole ASL file (either email it to me at alex@axeuk.com or just paste it here) then I can take a look into this for you.
Alex
16 Jul 2003, 10:56Gamer1962 sent me the ASL file, and here's my reply in case anybody else should find it useful:
The problem is occurring because you have over-ridden the "go to" command using:
command <go to #roomname#> goto <#roomname#>
This means when the player types "go to out small door", the "place" tag has no effect - your command overrides Quest's default behaviour and runs the command "goto <out small door>", which is what is causing the error.
I can't see any reason why you should need to override the "go to" command, so my suggested solution is to remove that line.
The problem is occurring because you have over-ridden the "go to" command using:
command <go to #roomname#> goto <#roomname#>
This means when the player types "go to out small door", the "place" tag has no effect - your command overrides Quest's default behaviour and runs the command "goto <out small door>", which is what is causing the error.
I can't see any reason why you should need to override the "go to" command, so my suggested solution is to remove that line.