Accesso rapido:  

Forum: General Discussion

Topic: Can set_cue automatically add a cue without giving a cue number?
Is there a possibility for `set_cue` to add a cue point to the end of the cue list, without passing a cue number to it?

I'm trying to use the custom button editor to add some action markers to some songs.

What i've come up with until now, is this:

var %currentCue ? set %currentCue = var %currentCue + 1 : set %currentCue = 20 &
set_cue var %currentCue

...followed by this...
& cue_name var %currentCue 'MyAction' &
cue_color var %currentCue 'yellow' &
cue_action var %currentCue 'set $someVar 1 & set $someOtherVar 2'


Since none of my songs currently have 20 cue points set, I tried starting of at 20.

However, even trying to set a variable and using that to set a cue (the first code block) doesn't seem to work.

Am I missing something?
Side question: Is there a way to console.log stored variables?
 

Inviato Sat 09 Jul 22 @ 7:20 am
locoDogPRO InfinityModeratorMember since 2013
var_list
 

Inviato Sat 09 Jul 22 @ 7:43 am