Axe Software Forums
  Quest Developer Forum
  ...and another one.


Author Topic:   ...and another one.
Andy C posted 20-03-2002 21:15 GMT     
Bear in mind I am a beginner! Again, using QDK 3.10 I have a very simple Go To.. location - no code or anything. But the game won't let me Go To it. The location is shown in the main window and in the list of places, but clicking Go To or typing Go To the location just says 'You can't go there'.

Here's the code:

define room <Outside Grate>
look <You are in a 20-foot depression floored with bare dirt. Set into the dirt is a strong steel grate mounted in concrete. A dry streambed leads into the depression.>
north <At Slit In Streambed>
south <In Forest 1>
east {
set numeric <rnd; $rand(1;2)$>
if ( %rnd% = 1 ) then goto <In Forest 2> else goto <In Forest 1>
}
west {
set numeric <rnd; $rand(1;2)$>
if ( %rnd% = 1 ) then goto <In Forest 2> else goto <In Forest 1>
}
southeast <Below the Grate>
place <Below the Grate>
script if property <Grate; open> then displaytext <describe Grate open> else {if not property <Grate; locked> then displaytext <describe Grate unlocked>}

Again, the q3extension is in there.

Any thoughts?

I also get odd text in the game when 'taking' a simple object. E.g. the following object:

define object <brass lantern>
alt <lamp; light; brass; lantern>
take
prefix <a>
end define

when i select the object in the objects window and click Take, it says:

> take brass lantern
(assuming you meant to take the lantern).
You pick it up.

If I type Take brass lantern I get the same, but if I type Take lamp (or any other variation) I just get:

take brass
You pick it up.


What am I doing wrong?