Axe Software Forums
  Quest Developer Forum
  Object aliasing


Author Topic:   Object aliasing
Luridii posted 14-08-2001 09:06 GMT     
Is object aliasing meant to be used for takeable objects?

Because for

define object <Cloth armour1>
alias <Cloth armour>
take
end define

and

You try to take it and it says object not found.

I need to do this so that for all the allys on your team they can all equip the same type of armour (I already have the procedures to do this), but not share this one piece between 3 etc!



Computer Whizz posted 14-08-2001 10:05 GMT          
Yes..... I had that problem with the fighting game. I tried to alias an object and it wouldn't work!

I think it's a problem inside Quest, and not inside QDK.

.....another bug to add to the list!!

Computer Whizz

Luridii posted 14-08-2001 13:00 GMT          
Yes I think its quest itself
sweetguy posted 14-08-2001 18:25 GMT          
did you deinfe the object in the game block???

did you put the give the player the item in the take stament????

Luridii posted 14-08-2001 19:16 GMT          
yes, im talkin about the alias of the object, it works fine with it if it dont hav an akias
Alex posted 14-08-2001 20:13 GMT          
What are you trying to take? In your example Quest should allow you to take "Cloth armour" but not "Cloth armour1". If not, 'tis a bug. Send me an ASL file and I'll look into it at some point.
Luridii posted 15-08-2001 08:53 GMT          
The real name of the object is Cloth armour1
its aliased as Cloth armour.

You take Cloth armour, it says you pick it up, but Cloth armour does not appear in the inventory.

In the asl log there is the error messasge WARNING ERROR: No such object 'cloth armour'

I'll send you the file