I made a switch which should change the bitmap of itself and activate a relay.
I did it like that:
Code: Select all
ref010322-1 WALLITEM_COG#1 3 22 1 NORTH OPBY=(HAND_EMPTY) ACTION=(ACTIVATE) TARGET=(ref010122-1) OPTIONS=(DELAY:1,SOUND:SOUND_STEP_DEMON_THORN)
ref010322-2 WALLITEM_COG#2 3 22 1 NORTH STATE=(INVISIBLE) OPBY=(HAND_EMPTY) ACTION=(ACTIVATE) TARGET=(ref010122-1) OPTIONS=(DELAY:1,SOUND:SOUND_STEP_DEMON_THORN)
ref010122-1 WALLITEM_RELAY 1 22 1 CENTRE ACTION=(TOGGLE) TARGET=(ref010322-1,ref010322-2,ref010222-2,ref010222-3)
Funny thing is: ref010222-2,ref010222-3 are two different bitmaps which should be exchanged by the relay, too. And they do!!
Any ideas???
THOM