Digging out an exit

For builders to discuss and ask building questions.
Post Reply
Atraos
Sword Grand Master
Sword Grand Master
Posts: 316
Joined: Fri Jul 24, 2009 7:26 am
Location: UK

Digging out an exit

Post by Atraos » Wed Jul 17, 2013 7:52 am

Morning

I have had a look through the fourms but can't find what I am looking for.

If i want an exit to be dug our prior to it being used, how do I write this?

Is it an intercept programme or a specific piece of code?

Thanks
User avatar
Harroghty
Staff
Staff
Posts: 9695
Joined: Tue Jul 27, 2004 5:38 pm

Re: Digging out an exit

Post by Harroghty » Wed Jul 17, 2013 9:42 am

Atraos: The lesson you need is this one about room exits.

In this case, it's just a simple exit flag (EX_DIG). e.g.

Code: Select all

DDIR_DOWN
~
~
EX_DIG -1 QQ01 0
This is a down exit which one must dig through to pass.
"A man may die yet still endure if his work enters the greater work, for time is carried upon a current of forgotten deeds, and events of great moment are but the culmination of a single carefully placed thought." - Chime of Eons
Atraos
Sword Grand Master
Sword Grand Master
Posts: 316
Joined: Fri Jul 24, 2009 7:26 am
Location: UK

Re: Digging out an exit

Post by Atraos » Wed Jul 17, 2013 2:42 pm

Excellent, thank you.

Couldnt see for looking
Post Reply