Page 1 of 1

[Not a bug] Cloned WALLITEMS don't like to toggle

Posted: Thu Apr 27, 2006 11:36 pm
by copperman
A cloned WALLITEM, I've been using dent will not toggle visability via a trigger or relay. They only way I've been able to manage this is using a FLOORITEM_TRIGGER set to constant weight with a triggering item on the floor, then either destroy or simply teleport it away.
I've tested this with a mirror (and a cloned mirror) activating a toggle relay which targets a dent AND a cloned dent, only the dent changes visability and also directly with a switch on the wall.

This is what prompted my request for extra alts for mirrors. Now I realise it's a bug not my stupidity. (Probably)

Re: Cloned WALLITEMS don't like to toggle

Posted: Thu Apr 27, 2006 11:44 pm
by George Gilbert
copperman wrote:toggle relay which targets a dent AND a cloned dent, only the dent changes visability and also directly with a switch on the wall.
Can you send me an example txt file with the above bit in it so I can see what's going on internally (or if there's a problem with how the object is being cloned).

Posted: Fri Apr 28, 2006 12:04 am
by copperman
Sent to the account on your website :D

Posted: Fri Apr 28, 2006 12:13 am
by George Gilbert
That's great thanks - got it.

Posted: Fri Apr 28, 2006 12:25 am
by copperman
i sent the rtc cos of the extra images, and im lazy :D

Posted: Mon May 01, 2006 10:25 pm
by George Gilbert
Having had a good look at both the txt and rtc files, I'm pretty convinced this isn't a bug.

From a simplistic point of view, if you clone a dent and change nothing about it then get a trigger to toggle both the clone and an original dent, both do the same thing - so there's clearly something more complicated going on. What I think it is is that the new bitmaps you're using give the impression that the clone hasn't toggled when in fact it has, but it's a bit tricky to tell because of the similarity of the bitmaps.

Does that make any sense? If you can still reproduce the problem with a much simplified dungeon (say, one containing only 3 or 4 items) then it would be good to take another look, but otherwise, as I mentioned above, I think this is just an optical illusion caused by the similarity of the bitmaps and by having multiple wall items on the same wall!

Posted: Wed May 03, 2006 4:01 pm
by copperman
I'm not convinced, but I haven't had time to create a better test dungeonette (relatives visiting).

Posted: Wed May 03, 2006 4:18 pm
by George Gilbert
To be honest I agree with you - I'm not convinced either!

However, what is true is that if you simply clone a dent, it behaves exactly the same as the original dent so the bug (if there is one at all) isn't what you thought it was!