Se Connecter:     


Forum: Wishes and new features

Sujet: Just one thing to simplify scripting

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

I'm trying out a new style of mapping where effects modify several decks if a variable for that deck is on, and as a result the scripts are Very long

var "d1" ? var "d2" ? var "d3" ? var "d4" ? deck master effect_active : deck 1 effect_ active & deck 2 effect_active & deck 3 effect_active : deck 1 effect_active & deck 2 effect_active & var "d4" ? deck 4 effect_active : nothing : deck 1 effect_active & var "d3" ? deck 3 effect_active & var "d4" ? deck 4 effect_active : nothing : var "d4" ? deck 4 effect_active : nothing : var "d2" ? var "d3" ? var "d4" ? deck 2 effect_active & deck 3 effect_active & deck 4 effect_active : deck 2 effect_active & deck 3 effect_active : deck 2 effect_active & var"d4" ? deck 4 effect_active : nothing : var "d3" ? var "d4" ? [ABANDON SCRIPT] I thought I had it but it's gone

I've already confused myself, and this is not even taking account of the 6 'modes' I'll have.

So anyway if you could close off a query it would be much easier (I'll use ¬ to represent close query)

var "d1" ? deck 1 effect_active : nothing ¬ & var "d2" ? deck 2 effect_active : nothing ¬ & var "d3" ? deck 3 effect_active : nothing ¬ & var "d4" ? deck 4 effect_active : nothing
 

Posté Tue 01 Jul 14 @ 11:09 am
Any news ?
 

Locodog - I see that this is a very old post but it looks to me like you were trying to implement a kind of Serato style Deck Fx banks assignation.....

I've been thinking of toying around with producing a mapping for this for myself recently for fun..... and I can see that while probably possible the scripting could quickly become like a mapping bowl of spaghetti...... did you ever get anywhere with it or did you give up?
 

I abandoned the idea :( I bought more buttons :)
 

I just reactivated it because it's the common request about parenthesis to group commands ^^

(var "d1" ? deck 1 effect_active : nothing) & (var "d2" ? deck 2 effect_active : nothing) & (var "d3" ? deck 3 effect_active : nothing) & var "d4" ? deck 4 effect_active : nothing

but yes, the extra "button" hack is the only current way (with its set of issues)
 

Nicotux wrote :
parenthesis to group commands


+1

 

what is strange is ... filter folder script already implement this for years
(even new combo boxes prevent their use and limits the possibilities)
 



(Les anciens sujets et forums sont automatiquement fermés)