View changes for revision:                                                               
Event Controller - "P" Switch (Blue) (66, rev. 7)
By  Hiccup on 03-31-15, 01:09 pm
Category 'Event controllers', known, fully documented
(no description)
Data files:
• /obj/I_switch_ncg.bin
Sprite fields:
Output ID: value at nybble 2-3. 0=disable
Ouput mode: list at nybble 8: 0=Start ID activation,1=Stop ID activation. Activation has to be started/enabled. Can toggle once started or ended by hitting the opposite sw. again.
Input ID: value at nybble 0-1. 0=Ignore input ID, other value will wait for ID
Input mode: list at nybble 9: 0=One time use,1=Toggle start/stop,2=Toggle input/output. Timer mode automatically resets switch to opposite output mode. Or it can be reset by another switch. With no timer, a start/stop toggle will respawn when you leave then return to the screen.
Timer mode: list at nybble 6: 0=Timer with music,1=No timer no music. When timed, switch starts in start or stop. While timed, it is opposite.
Time out sw. delay: value at nybble 5. In seconds, Only delays multiple on/off hits
Affected by gravity: checkbox at nybble 4 with mask 1
Upside down: checkbox at nybble 11 with mask 1
Shift ½ block right: checkbox at nybble 10 with mask 1
Event Controller - "P" Switch (Blue) (66, rev. 8)
By  Hiccup on 03-31-15, 01:15 pm
Category 'Event controllers', known, fully documented
(no description)
Data files:
• /obj/I_switch_ncg.bin
Sprite fields:
Triggering Event ID: value at nybble 0-1. [confirm latter sentence] If this ID is set, the Switch will only show while this Event ID is activated. Slightly buggy if used with Multi Use. [confirm latter sentence]
Target Event ID: value at nybble 2-3
Falls, Loads at Midway: list at nybble 4: 0=None,1=Falls,4=Loads at Midway. If 1, the Switch will be movable by environment stuff, such as dropping down when bricks below it are destroyed, or riding along a conveyor belt. If 4, the Switch will only show if the level has been started from a midway point.
Delay on Multi Use: list at nybble 5: 0=Instantaneous (No Delay),2=Short Delay,3=Long Delay,1=Very Long Delay. [check this nybble]This will set how long the Switch takes to pop up after the Timer expires on a Multi Use Switch
Non-Timed Event: list at nybble 6: 0=Timed,1=Non Timed
Switch Mode: list at nybble 8: 0=Activates Target (Switches Event State),1=Deactivates Target (Switches Event State)
Usage Mode: list at nybble 9: 0=Single Use,1=Multi Use,2=Unknown. 2 is unused.
Shift ½ Block Right: checkbox at nybble 10 with mask 1
Upside Down: checkbox at nybble 11 with mask 1. If this is checked, the Switch will be facing down. Upside down Switches cannot fall.