@Michael-Hoover as @Cernel stated "-reset-" is used to clear multiple values. You can use a "playerProperty" to change a "switch" value.
You stated:
<attachment name="conditionAttachment_WaxOn" attachTo="Player1" javaClass="RulesAttachment" type="player"> <option name="switch" value="true"/> </attachment>Then you would need to create a condition for when to turn the switch to false:
<attachment name="conditionAttachment_TurnWaxOff" attachTo="Player1" javaClass="RulesAttachment" type="player"> <!-- Create the condition here --> </attachment>Then by checking the state of "conditionAttachment_TurnWaxOff" you could use this to then set "conditionAttachment_WaxOn" to "false":
<attachment name="conditionAttachment_WaxOff" attachTo="Player1" javaClass="TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachment_TurnWaxOff"/> <option name="players" value="Player1"/> <option name="playerAttachmentName" value="RulesAttachment" count="conditionAttachment_WaxOn"/> <option name="playerProperty" value="switch" count="false"/> </attachment>To change "conditionAttachment_WaxOn" to false.
Hope this helps.
Cheers...
