LiuCixin

ACT TOP Monitor trigger

Mar 15th, 2023
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.68 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <TriggernometryExport Version="1">
  3. <ExportedFolder Id="2edbac07-4ab8-4b0e-98fe-ae32b4111b81" Name="Omega Monitors 1" Enabled="true">
  4. <Folders />
  5. <Triggers>
  6. <Trigger Enabled="true" Name="set variables (Oversampled Wave Cannon)" Id="45f99660-6cf7-41ba-9609-1b4101fed0ee" RegularExpression="suffers the effect of Oversampled Wave Cannon Loading" PeriodRefire="Deny">
  7. <Actions>
  8. <Action OrderNumber="1" OBSEndPoint="" VariableOp="SetString" VariableName="allTargetString" VariableExpression="1,2,3,4,5,6,7,8" ActionType="Variable" Asynchronous="False">
  9. <Condition Enabled="false" Grouping="Or" />
  10. </Action>
  11. <Action OrderNumber="2" ListVariableOp="Split" ListVariableName="allTargetString" ListVariableExpression="," ListVariableTarget="allTargets" OBSEndPoint="" ActionType="ListVariable" Asynchronous="False">
  12. <Condition Enabled="false" Grouping="Or" />
  13. </Action>
  14. <Action OrderNumber="3" ListVariableName="monitorTargets" OBSEndPoint="" ActionType="ListVariable" Asynchronous="False">
  15. <Condition Enabled="false" Grouping="Or" />
  16. </Action>
  17. <Action OrderNumber="4" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="Gally Vinland" TableVariableX="1" TableVariableY="1" ActionType="TableVariable" Asynchronous="False">
  18. <Condition Enabled="false" Grouping="Or" />
  19. </Action>
  20. <Action OrderNumber="5" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="1" TableVariableX="1" TableVariableY="2" ActionType="TableVariable" Asynchronous="False">
  21. <Condition Enabled="false" Grouping="Or" />
  22. </Action>
  23. <Action OrderNumber="6" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="Etharia Duskmantle" TableVariableX="2" TableVariableY="1" ActionType="TableVariable" Asynchronous="False">
  24. <Condition Enabled="false" Grouping="Or" />
  25. </Action>
  26. <Action OrderNumber="7" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="2" TableVariableX="2" TableVariableY="2" ActionType="TableVariable" Asynchronous="False">
  27. <Condition Enabled="false" Grouping="Or" />
  28. </Action>
  29. <Action OrderNumber="8" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="Keiko Iwai" TableVariableX="3" TableVariableY="1" ActionType="TableVariable" Asynchronous="False">
  30. <Condition Enabled="false" Grouping="Or" />
  31. </Action>
  32. <Action OrderNumber="9" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="6" TableVariableX="3" TableVariableY="2" ActionType="TableVariable" Asynchronous="False">
  33. <Condition Enabled="false" Grouping="Or" />
  34. </Action>
  35. <Action OrderNumber="10" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="Add Icted" TableVariableX="4" TableVariableY="1" ActionType="TableVariable" Asynchronous="False">
  36. <Condition Enabled="false" Grouping="Or" />
  37. </Action>
  38. <Action OrderNumber="11" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="5" TableVariableX="4" TableVariableY="2" ActionType="TableVariable" Asynchronous="False">
  39. <Condition Enabled="false" Grouping="Or" />
  40. </Action>
  41. <Action OrderNumber="12" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="Reks Rotari" TableVariableX="5" TableVariableY="1" ActionType="TableVariable" Asynchronous="False">
  42. <Condition Enabled="false" Grouping="Or" />
  43. </Action>
  44. <Action OrderNumber="13" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="3" TableVariableX="5" TableVariableY="2" ActionType="TableVariable" Asynchronous="False">
  45. <Condition Enabled="false" Grouping="Or" />
  46. </Action>
  47. <Action OrderNumber="14" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="Titus Draconis" TableVariableX="6" TableVariableY="1" ActionType="TableVariable" Asynchronous="False">
  48. <Condition Enabled="false" Grouping="Or" />
  49. </Action>
  50. <Action OrderNumber="15" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="4" TableVariableX="6" TableVariableY="2" ActionType="TableVariable" Asynchronous="False">
  51. <Condition Enabled="false" Grouping="Or" />
  52. </Action>
  53. <Action OrderNumber="16" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="Shalltear Bloodfallen" TableVariableX="7" TableVariableY="1" ActionType="TableVariable" Asynchronous="False">
  54. <Condition Enabled="false" Grouping="Or" />
  55. </Action>
  56. <Action OrderNumber="17" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="7" TableVariableX="7" TableVariableY="2" ActionType="TableVariable" Asynchronous="False">
  57. <Condition Enabled="false" Grouping="Or" />
  58. </Action>
  59. <Action OrderNumber="18" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="C'hesire Raha" TableVariableX="8" TableVariableY="1" ActionType="TableVariable" Asynchronous="False">
  60. <Condition Enabled="false" Grouping="Or" />
  61. </Action>
  62. <Action OrderNumber="19" OBSEndPoint="" TableVariableOp="Set" TableVariableName="priorities" TableVariableExpression="8" TableVariableX="8" TableVariableY="2" ActionType="TableVariable" Asynchronous="False">
  63. <Condition Enabled="false" Grouping="Or" />
  64. </Action>
  65. <Action OrderNumber="20" OBSEndPoint="" VariableOp="SetNumeric" VariableName="myPriority" VariableExpression="min(8, ${tvarcl:priorities[${_ffxivplayer}][1]})" ActionType="Variable" Asynchronous="False">
  66. <Condition Enabled="false" Grouping="Or" />
  67. </Action>
  68. <Action OrderNumber="21" OBSEndPoint="" TriggerId="f3282e51-0cd4-488a-a38f-c83281a13b59" TriggerText="tell me" ActionType="Trigger" ExecutionDelayExpression="200">
  69. <Condition Enabled="false" Grouping="Or" />
  70. </Action>
  71. <Action OrderNumber="22" OBSEndPoint="" TriggerId="69445ce3-bb59-44a6-9468-76fe669769cd" TriggerText="tell me" Enabled="False" ActionType="Trigger">
  72. <Condition Enabled="false" Grouping="Or" />
  73. </Action>
  74. </Actions>
  75. <Condition Enabled="false" Grouping="Or" />
  76. <Conditions />
  77. </Trigger>
  78. <Trigger Enabled="true" Sequential="True" Name="final trigger (position check) - TTS" Id="f3282e51-0cd4-488a-a38f-c83281a13b59" RegularExpression="tell me">
  79. <Actions>
  80. <Action OrderNumber="1" ListVariableOp="SortNumericAsc" ListVariableName="monitorTargets" OBSEndPoint="" ActionType="ListVariable" Asynchronous="False">
  81. <Condition Enabled="false" Grouping="Or" />
  82. </Action>
  83. <Action OrderNumber="2" OBSEndPoint="" UseTTSTextExpression="one" ActionType="UseTTS" Description="Conditions:&#xD;&#xA;1 Not a spread target&#xD;&#xA;2 Not the 'stack close' prio">
  84. <Condition Enabled="true" Grouping="And">
  85. <ConditionSingle Enabled="true" ExpressionL="${lvar:monitorTargets.indexof(${var:myPriority})}" ExpressionTypeL="Numeric" ExpressionR="1" ExpressionTypeR="Numeric" ConditionType="NumericEqual" />
  86. </Condition>
  87. </Action>
  88. <Action OrderNumber="3" OBSEndPoint="" UseTTSTextExpression="two" ActionType="UseTTS" Description="Conditions:&#xD;&#xA;1 Not a spread target&#xD;&#xA;2 Not the 'stack close' prio">
  89. <Condition Enabled="true" Grouping="And">
  90. <ConditionSingle Enabled="true" ExpressionL="${lvar:monitorTargets.indexof(${var:myPriority})}" ExpressionTypeL="Numeric" ExpressionR="2" ExpressionTypeR="Numeric" ConditionType="NumericEqual" />
  91. </Condition>
  92. </Action>
  93. <Action OrderNumber="4" OBSEndPoint="" UseTTSTextExpression="three" ActionType="UseTTS" Description="Conditions:&#xD;&#xA;1 Not a spread target&#xD;&#xA;2 Not the 'stack close' prio">
  94. <Condition Enabled="true" Grouping="And">
  95. <ConditionSingle Enabled="true" ExpressionL="${lvar:monitorTargets.indexof(${var:myPriority})}" ExpressionTypeL="Numeric" ExpressionR="3" ExpressionTypeR="Numeric" ConditionType="NumericEqual" />
  96. </Condition>
  97. </Action>
  98. <Action OrderNumber="5" LogMessageText="Positions. My prio: ${var:myPriority}" LogProcess="True" LogLevel="Info" OBSEndPoint="" ActionType="LogMessage">
  99. <Condition Enabled="false" Grouping="Or" />
  100. </Action>
  101. <Action OrderNumber="6" ListVariableOp="SortNumericAsc" ListVariableName="allTargets" OBSEndPoint="" ActionType="ListVariable" Asynchronous="False">
  102. <Condition Enabled="false" Grouping="Or" />
  103. </Action>
  104. <Action OrderNumber="7" OBSEndPoint="" UseTTSTextExpression="one" ActionType="UseTTS" Asynchronous="False">
  105. <Condition Enabled="true" Grouping="Or">
  106. <ConditionSingle Enabled="true" ExpressionL="${lvar:allTargets.indexof(${var:myPriority})}" ExpressionTypeL="Numeric" ExpressionR="1" ExpressionTypeR="Numeric" ConditionType="NumericEqual" />
  107. </Condition>
  108. </Action>
  109. <Action OrderNumber="8" OBSEndPoint="" UseTTSTextExpression="two" ActionType="UseTTS" Asynchronous="False">
  110. <Condition Enabled="true" Grouping="Or">
  111. <ConditionSingle Enabled="true" ExpressionL="${lvar:allTargets.indexof(${var:myPriority})}" ExpressionTypeL="Numeric" ExpressionR="2" ExpressionTypeR="Numeric" ConditionType="NumericEqual" />
  112. </Condition>
  113. </Action>
  114. <Action OrderNumber="9" OBSEndPoint="" UseTTSTextExpression="three" ActionType="UseTTS" Asynchronous="False">
  115. <Condition Enabled="true" Grouping="Or">
  116. <ConditionSingle Enabled="true" ExpressionL="${lvar:allTargets.indexof(${var:myPriority})}" ExpressionTypeL="Numeric" ExpressionR="3" ExpressionTypeR="Numeric" ConditionType="NumericEqual" />
  117. </Condition>
  118. </Action>
  119. <Action OrderNumber="10" OBSEndPoint="" UseTTSTextExpression="four" ActionType="UseTTS" Asynchronous="False">
  120. <Condition Enabled="true" Grouping="Or">
  121. <ConditionSingle Enabled="true" ExpressionL="${lvar:allTargets.indexof(${var:myPriority})}" ExpressionTypeL="Numeric" ExpressionR="4" ExpressionTypeR="Numeric" ConditionType="NumericEqual" />
  122. </Condition>
  123. </Action>
  124. <Action OrderNumber="11" OBSEndPoint="" UseTTSTextExpression="five" ActionType="UseTTS" Asynchronous="False">
  125. <Condition Enabled="true" Grouping="Or">
  126. <ConditionSingle Enabled="true" ExpressionL="${lvar:allTargets.indexof(${var:myPriority})}" ExpressionTypeL="Numeric" ExpressionR="5" ExpressionTypeR="Numeric" ConditionType="NumericEqual" />
  127. </Condition>
  128. </Action>
  129. </Actions>
  130. <Condition Enabled="false" Grouping="Or" />
  131. <Conditions />
  132. </Trigger>
  133. <Trigger Enabled="true" Sequential="True" Name="monitor targets (Oversampled Wave Cannon Loading)" Id="a1a6ea2c-9907-4f9e-97cf-91363cb8f549" RegularExpression="[0-9A-F]{2}:[0-9A-F]{3}:Oversampled Wave Cannon Loading:[^:]*:[^:]*::[^:]*:(?&lt;name&gt;[^:]*):" Scheduling="FromLastAction">
  134. <Actions>
  135. <Action OrderNumber="1" ListVariableOp="Push" ListVariableName="monitorTargets" ListVariableExpression="${tvarcl:priorities[${name}][1]}" OBSEndPoint="" ActionType="ListVariable" Asynchronous="False">
  136. <Condition Enabled="false" Grouping="Or" />
  137. </Action>
  138. <Action OrderNumber="2" ListVariableOp="Remove" ListVariableName="allTargets" ListVariableIndex="${lvar:allTargets.indexof(${tvarcl:priorities[${name}][1]})}" OBSEndPoint="" ActionType="ListVariable" Asynchronous="False">
  139. <Condition Enabled="false" Grouping="Or" />
  140. </Action>
  141. <Action OrderNumber="3" LogMessageText="captured monitor: ${name} prio: ${tvarcl:priorities[${name}][1]}" LogLevel="Info" OBSEndPoint="" ActionType="LogMessage" Asynchronous="False">
  142. <Condition Enabled="false" Grouping="Or" />
  143. </Action>
  144. </Actions>
  145. <Condition Enabled="false" Grouping="Or" />
  146. <Conditions />
  147. </Trigger>
  148. </Triggers>
  149. </ExportedFolder>
  150. </TriggernometryExport>
Advertisement
Add Comment
Please, Sign In to add comment