RDCode: Difference between revisions

Jump to navigation Jump to search
m
m (what?)
m (→‎Conditionals: a Timer)
Line 23: Line 23:
Conditionals have a ''Tag'' (text identifier), ''ID'' (unique numerical identifier), and ''Name'' (text that appears in the conditional (select) list).
Conditionals have a ''Tag'' (text identifier), ''ID'' (unique numerical identifier), and ''Name'' (text that appears in the conditional (select) list).


Events can also have set '''timers'''. Though they aren't exclusively used in combination with conditionals, they nearly always go together. They allow an event to be triggered during a set timeframe defined by the timer in '''beats''', as long as the conditionals are true at any point during that timeframe. E.g., setting a <code>numMistakes > 5</code> conditional alongside an 8-beat timer will run the event when the mistake amount surpasses 5 ''at any point within those 8 beats''.
Events can also have set '''Durations'''. Though they aren't exclusively used in combination with conditionals, they nearly always go together. They allow an event to be triggered during a set timeframe defined by the '''Duration''' in '''beats''', as long as the conditionals are true at any point during that timeframe. E.g., setting a <code>numMistakes > 5</code> conditional alongside an 8-beat '''Duration''' will run the event when the mistake amount surpasses 5 ''at any point within those 8 beats''.


Conditionals can have multiple ''type''s:
Conditionals can have multiple ''type''s:

Navigation menu