Axe Software Forums
  Quest Developer Forum
  Use help needed


Author Topic:   Use help needed
Wizard posted 26-06-2001 01:54 GMT     
Here is some USE code. A room with two objects, a Cap and a Bottle. You should be able to Take the Cap and USE it on the Bottle to get the message "You capped the bottle". But instead I get a message that I cant use the item here.

define room <house>
define object <Cap>
take give <Cap>
use <Bottle> msg <You Cap The Bottle>
end define
define object <Bottle>
end define
end define

Wizard posted 26-06-2001 02:03 GMT          
Never mind I figured it out. You need to add the USE definition to the object it is being used on not the object that is being used.

Wizard