快速登录:  

Forum: General Discussion

话题: setting variable value / output variable value

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

doug9474ControlleristMember since 2019
If I want to get the bpm of a song and put it in a variable, is it just the code below?

set $bpm get_bpm

Also, is there a way to debug VDJscript? For example outputting the value of a variable somewhere so I can see it?
 

发表时间 Tue 12 Oct 21 @ 3:03 am
locoDogPRO InfinityModeratorMember since 2013
needs backticks to parse the script as a value

set $bpm `get_bpm`

find var values with
var_list

or use this as a button name
`get_var $bpm`

there's also debug, but in this case one of the above will be better
get_var $bpm & param_cast & debug
 

发表时间 Tue 12 Oct 21 @ 3:12 am
doug9474ControlleristMember since 2019
ok thanks
 

发表时间 Tue 12 Oct 21 @ 10:35 am


(陈旧帖子或论坛版块会自动关闭)