SonoraFX - Conditions Guide
1. On Any Channel Commands (Wildcard Triggers)
These triggers respond to events happening on any channel without requiring you to specify a channel number. Use them in your main Command Bridge events!
- On Any Play Command: Fires whenever a sound play request is processed on any channel. Use
TriggeredChannel() and GetPlaySoundName$() to forward the sound parameters to Fusion's native sound player.
- On Any Stop Command: Fires when any channel is stopped.
- On Any Pause Command: Fires when any channel is paused.
- On Any Resume Command: Fires when any channel is resumed.
- On Any Volume Change Command: Fires when volume is adjusted on any channel (including LFO/Tremolo updates).
- On Any Frequency Change Command: Fires when frequency/pitch changes on any channel (including sweeps and LFOs).
- On Any Position Change Command: Fires when a playback position update occurs.
- On Any Pan Change Command: Fires when panning changes on any channel.
- On Any Fade Complete Command: Fires when a volume fade-in or fade-out finishes on any channel.
2. On Channel Commands (Specific Channel Triggers)
These triggers monitor a single specific channel ID (1 to 48).
- On Play Command (Ch N): Triggers specifically when channel N is ordered to play.
- On Stop Command (Ch N): Triggers specifically when channel N is stopped.
- On Pause / Resume Command (Ch N): Triggers when channel N is paused or resumed.
- On Fade Complete Command (Ch N): Triggers when channel N completes a volume fade.
3. State Checks (Conditions)
- Is Channel Playing?: True if the channel is actively playing. If channel parameter is 0, returns true if any channel is playing.
- Is Channel Paused?: True if the channel is currently paused.
- Is Channel Stopped?: True if the channel is stopped.