Set State of a Random Filter
Set the state of a filter randomly selected from a given scene or source
Parameters
SlobsConnection
SlobsScene
SlobsSource
State
Number
Optionally select a specific button state to modify
- By default, all sub-actions will modify the first button state,
0
- For example, to modify the 2nd state of an Action Switch, set
State
to1
Variables
Name | Type | Description |
---|---|---|
No data |
C# Usage
public void SlobsSetRandomFilterState(string scene, int state, int connection = 0)
CPH.SlobsSetRandomFilterState(scene, state);
CPH.SlobsSetRandomFilterState(scene, state, connection);