Page 1 of 1
DESTROYing stuff...
Posted: Thu Sep 05, 2002 1:05 am
by Gambit37
I've been messing around with more stuff in the TXT files, and have discovered that DESTROY_ITEM seems to only affect keys in keyholes. How do I use it to destroy items, say when they are placed in an alcove?
Not a DESTROY but...
Posted: Thu Sep 12, 2002 9:50 pm
by Sophia
You could always put a FLOORITEM_TELEPORTER in the same space as the alcove, and have the alcove activate the teleporter, which will immediately teleport the object off to some obscure location.
It's not strictly a DESTROY but it'll do what you want.
Re: Not a DESTROY but...
Posted: Fri Sep 13, 2002 10:34 am
by Gambit37
Yep, that's the exact technique I've used, but I don't really like it as it generates warnings when the dungeon is compiled.
warnings do not impede execution
Posted: Thu Mar 20, 2003 12:17 am
by chiefy
warnings have no effect on execution whatsoever
you could have doors without frames and buttons in mid air galore, but the dungeon will still run
I find this worry of warnings way OTT
sure it looks messy during compile, but the end user sees nothing of that
be brave and use the mechanisms provided
warnings are simply there for your information
if the dungeon suceeds in what you planned for it, amen to that
Re: DESTROYing stuff...
Posted: Thu Mar 20, 2003 10:29 am
by George Gilbert
That's exactly right. I put the warnings there purely for information - they in no way stop the RTC file from compiling or the dungeon from running.
What they do do however is highlight bits of the dungeon that *may* be wrong or are at least unusual (e.g. having a door without a door frame, stairs going up without a corresponding down stairs on the previous level etc). When compiling a dungeon you should go through and carefully check each of the warnings - if it is working exactly as you intended it to, then please ignore them!
On a similar note - if anyone has any suggestions about the warnings (e.g. some combination of items that should generate a warning but doesn't - or the other way arround), then please let me know and I'll add it to the next release.