Mulitple switches on a wall?
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
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.
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.
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
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

- Gambit37
- Should eat more pies
- Posts: 13769
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
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.
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.