Axe Software Forums
  Quest Developer Forum
  Created Exits in 3.0.93


Author Topic:   Created Exits in 3.0.93
Wizard posted 24-07-2001 04:34 GMT     
Is it just me or did I miss something in the versions.txt file.

The following statement is ignored. No error, no exit.

create exit north <#quest.currentroom#; House>

Any ideas?

Wizard

MaDbRiT posted 24-07-2001 09:42 GMT          
Hi Wizard

That code works just fine - so I suggest you must have either a spelling, spacing or logic error somewhere in your code..

Try cutting a& pasting this (known to work) test piece...

quote:

define game <game test>
asl-version <285>
game version <1.0>
game author <Enter your name here>
game copyright <� 2001 ...>
game info <Enter game info here>
start <startroom>
end define

define room <startroom>
look <Oooh a start room - how cool! |nThere is a calendar _
on the wall here and a door in the west wall.>

command <open door> do <open_proc>

end define


define room <room2>
alias <another room>
look <Another room? Wow we are honoured!>
south <startroom>
end define

define procedure <open_proc>
create exit west <#quest.currentroom#;room2>
msg <you open the door>
end define

define text <intro>
Use the command OPEN DOOR to open the door.. complicated eh? :-)
end define

define text <win>
Enter win text here
end define

define text <lose>
Enter lose text here
end define


That'll prove the point I think :-)

If you can't spot the prob, send me your ASL and I'll see if a second set of eyes helps.

Al