Axe Software Forums
  Quest Developer Forum
  Created Exits


Author Topic:   Created Exits
Wizard posted 15-07-2001 21:23 GMT     
How do you remove a exit that has been created in version 284 using the command:

create exit north <House>

thanks, Wizard

Wizard posted 17-07-2001 02:08 GMT          
I guess I stumped everyone with this one.

Wizard

MaDbRiT posted 17-07-2001 09:27 GMT          
Wizard asked;

quote:
How do you remove a exit that has been created in version 284 using the command:
create exit north <House>

The short answer is that (unless anyone else knows better) you can't actually do that in Q3 - maybe Alex will add a 'destroy' to complement the 'create' sometime, but it has not happened yet AFAIK.

However, you can 'fake' the effect with a little bit of ASL. I did something like this as a demo for 'opening' an exit in Quest 2.x - that is available on the tips n' tricks page, the same priciple can be applied in reverse to close one.

Basically the method is to create a second room, with the same description as the first except for the one open/closed exit, then use ASL to move the player and room contents between the two rooms whenever the status of the exit changes.

This is a bit of a 'work round' obviously, but if you code it carefully how it was done doesn't show to the player at all and the effect is exactly what you need, so who cares how the effect was achieved ;-)

Please feel free to e-mail me if you need a bit more guidance on this one.

Al

Alex posted 17-07-2001 20:17 GMT          
One for the "to do" list I think.