Page 1 of 1

Posted: Wed Mar 10, 2004 3:40 pm
by WolfHeart
Is there a way to have more than 1 button (switch) on the same wall? I am trying to make a multi button panel that will teleport you to different places. I can do it with levers but then affect is spoiled because they need to be spaced on different walls instead of all in one group

Posted: Wed Mar 10, 2004 3:48 pm
by Gambit37
I've not tried it, but you could probably clone the green switch and create different x/y positions for the bitmaps so that you can have multiple switches on the same wall...

Posted: Wed Mar 10, 2004 4:41 pm
by George Gilbert
I believe Gambits suggestions should work. The mouse click detection code specifically looks at the area of the screen covered by the bitmap.

If you offset different bitmaps by different ammounts and associate each bitmap with a different clone of an object then you should get exactly the behaviour you're looking for.

Posted: Wed Mar 10, 2004 6:47 pm
by Gambit37
In fact, that's given me some good ideas for a puzzle.... ;)

Posted: Thu Mar 11, 2004 9:03 am
by WolfHeart
I assume you picked the green switch at random and it could have also been a wallitem_switch_blue or wallitem_switch_red instead of the wallitem_switch_green right??? If so I must be doing something wrong because I can't seem to edit it with the editor I can highlight it af if to change but when i try to change the value nothing overrites. Maybe Im to tired hehe.

Oh glad to hear it gave you a good idea for a puzzle. If I can get this to work I am hoping to have sorta an elevator to HELL :twisted:

Posted: Thu Mar 11, 2004 9:12 am
by Gambit37
Yeah, it could be any switch.

You can't change existing switches in the editor. Default stuff (already built in) can't be overriden. That's why you need to clone it so that you can change i's x/y properties. You need the necessary bitmaps too. The easiest way to get them is to take screen grabs from the editor, crop and touch them up in a paint package.