Combine activation conditions¶
This example enables an effect at night during an authored annual date window. Use the same pattern with any built-in response.
- Configure a reactive response on a ready context containing Calendar and Astronomy.
- Add Astronomy / Daylight and enable Invert.
- Add Calendar / Date Window and choose the beginning and end month/day. Use dates valid for the selected calendar.
- Set Combine to All so the lowest influence governs the response.
- Test daytime inside the date window, nighttime outside it, and nighttime inside it. Only the third should activate.
Date Window compares month/day, not a specific year. A window crossing the end of the year wraps. All uses minimum and Any uses maximum; these operators also preserve continuous ramps rather than converting every value to a boolean.
Use Any when either independent rule should activate the effect. For a nested expression such as (night and winter) or gameplay alarm, implement the policy in your own script and use manual influence. The serialized condition list is flat; it is not a nested expression editor.
Related: condition source reference, custom response recipe.