Axe Software Forums
  Quest Developer Forum
  What does !. mean !!??


Author Topic:   What does !. mean !!??
Andy C posted 20-03-2002 21:04 GMT     
I have coded (using QDK v3.10) a simple object called 'grate'. It appears in two locations as 'grate' and 'grate2' with an alias of 'grate'. During the game, when I type 'examine grate' I get the response !. (exclamation period). If I type Look at Grate I get the correct description. If I go to the second location and type Examine grate, I get the same. Code is:

define object <Grate>
alias <steel grate>
alt <lock; gate; grille; metal; strong; steel; grating; grate>
look msg <It just looks like an ordinary grate mounted in concrete.>
type <openable>
type <lockable>
type <door>
type <scenery>
properties <locked>
end define
.
.
.
define object <Grate2>
alias <steel grate>
alt <grate; lock; gate; grille; metal; strong; steel; grating>
look msg <It just looks like an ordinary grate mounted in concrete.>
type <openable>
type <lockable>
type <door>
type <scenery>
properties <locked>
end define

I also have !include <q3ext.qlb>
and
startscript do <q3ext.qlb.setup_proc(4)>
although I have noticed that when examining the AS Log Window I see:
WARNING ERROR: No such procedure q3ext.qlb.setup_proc

Could it be the extension library causing the problem?

Alex posted 20-03-2002 21:17 GMT          
Unfortunately I'm experiencing "technical difficulties" at the moment and so I'm unable to test your code. However I would suggest you try deselecting the extension library from the Libraries window of QDK and then seeing what happens. I can't see anything wrong with your code as it is.
Andy C posted 20-03-2002 21:41 GMT          
Thanks for the quick response. I've now removed the library and all my 'bugs', including those in my next post, have gone. I want to use your library extension because I like 'scenery' and 'doors' etc. Could it be that error I'm getting in response to:

startscript do <q3ext.qlb.setup_proc(5)>
?

The same line seems to work fine in your q3ext.asl sample game!

MaDbRiT posted 20-03-2002 23:34 GMT          
Hi Andy

The Quest Extension library (written by yours truly - you can't blame Alex for it.. LOL ) was written a little bit before the latest incarnation of Quest 3.1 and so not everything works as you might hope.

As soon as Quest 3.1 settles down (i.e. Alex gets his PC fixed and a proper 'release' of Q3.1 and not a 'beta' is available) I will try to debug the Q3 Extension library and make everything 'work' - currently Q3.1 is something of a moving target.

However Q3Ext DOES mostly work already - so if you want to send me your code, I might be able to sort out why you are having problems .

Al