Multi-state cycling switch
Overview
Creator:
Alucard648
Updated: 13 Jan 2023
Tags:
FFC
Downloads: 13
|
View Script
Download Package (873.32 KB) |
Information
Each time activated, it cycles between number of state.
Made as part of request by SkyFlare
Made as part of request by SkyFlare
Description Setup Reviews Comments
//MultistateCycleSwitch
1.Set up sequence of switchable combos.
2. Place FFC at switch location.
D0 - 1st combo in sequence from step 1
D1 - number of combos in sequence
D2 - add together: 1 - switch only combos with same CSet, as FFC itself. +2 - record switch state into screen D register
D3 - Screen D register to track switch state.
D4 - sound to play on activating switch.
//Multi-state sequence CSet switch.
Place invisible FFC at switch location, assign CSet to 1st Cset in sequence. Default is CSET_COLORCYCLE_COLOR1
//D0 - combo flag to define switchable combos
//D1 - number of csets in sequence (3 - 5)
//D2 - add together: 2 - record switch state into screen D register
//D3 - Screen D register to track switch state.
//D4 - sound to play on activating switch.
1.Set up sequence of switchable combos.
2. Place FFC at switch location.
D0 - 1st combo in sequence from step 1
D1 - number of combos in sequence
D2 - add together: 1 - switch only combos with same CSet, as FFC itself. +2 - record switch state into screen D register
D3 - Screen D register to track switch state.
D4 - sound to play on activating switch.
//Multi-state sequence CSet switch.
Place invisible FFC at switch location, assign CSet to 1st Cset in sequence. Default is CSET_COLORCYCLE_COLOR1
//D0 - combo flag to define switchable combos
//D1 - number of csets in sequence (3 - 5)
//D2 - add together: 2 - record switch state into screen D register
//D3 - Screen D register to track switch state.
//D4 - sound to play on activating switch.



