Why does it work like that?
-
Hey everyone,
I have a 4 knobs and 4 buttons and for UI purpose I want to remove the knob when the button is clicked.
But why when you manually link to a button to something (button2) the script stop working?
I got it to work by code so it's not a big deal but maybe i'm missing something?
Thanks in advance!
HiseSnippet 1428.3oc0X8zaaTDEe1Du4OtzJJpBAWPK4jKppZsWmPppP1D6XpUSZchCobqLY2wwix5YL6NaJt.R8BR7Un23qA23JWoG4BRbpBgDeCf2r65ry53+a.Qru348d+dyadu27duwM731DeetGRK6Q85RPZugdydLQ6JswTFpdUj1Mz2G6KHdFQj1oWWruOwAoos7mHInsdFT3m+rzNXWLyljPBgNlSsI6Q6PEITaT9gTW2ZXGxQzNJRWrbcaNqB2kG.1yx5lntX6yvmRdDVJ1R5nGf8aiz9.8BEZYuso41VVaZhwVNXbw7Dq6QZsUK6MMumoyIaZBe2BosxtNTA2qo.KH9HsL6vc50rM+YrnM3XpO8DWhbQdTSXmiHWi65HOhRpnJsotNM56n7QfVZj31VNxscK88oNzKnm39dyPFFIHTcfZKk17VNk4keTl2PLIMESJSjIcS8l1dzthDNR64Z50YPzrEFhSplRjrnk94L5U3fDLwc6fOiTyCVbAhbaYZdGiMMMu88ylEhU9BiywdF6DHDbVdiOxnOzSIhJ7Nc4LXQtMh4uAfZPPEl.nBCCj0D.YMLPEm.nhaj9P8PF+jQejB4ldajjJLV.EtL.qwBv5x.JNV.CdHpQcgPm7XDdqVhX2VsH1f3wrBADGftquTgLgG2sB108D31WNNKlYLCP73Hy3jtvfRaMNosFT5hiS5hIRmkxboLhQq.lsfxYFCZs4r66etC3ObCH2N6Wk0.9DF+j6RtMNO5R1F2w38iD49gRD6ejxz+dRt97+lQuyEllctvH24wnYqoQyVyilKNMZt33z70ylMqhZeDWPdLKmD95.aiAY0p0P4EaFtDugxV1svab.ywB5bBwSw3CEDpHltL6JSWYV6nqYJBxY0YTwi6RhWO99Dn36oP440hsPPTQXw4aDWbNJ.fnfRVWON2EEZ9pcQQy.7BKFbqECdwY.dSWpCwKD9p5gWHWDvEVDvVKB3gcl+z5UwBrrwbbR.jXzk3Inx7OspjygwhhZSutdUh+YBdW3mWTMGRYmh7juTc1odIKpWFonoUlhTlDMUljVSc6mPWODPbUQXxLOXnL3mQj2kggKPNHzLcBrT12O2ezmfLSQZWhlL95oVSCICbD9zWb7LomQ5QmQ8LROzLpmQ5eFPOqNQO8lpdniTzT4fx93yI0YM7HPmB4Lkoxcfw2gtOmQbNhqlCit7fqvHybm.WrH8bzxWaDy.p5mZ3U4.pLepnm5qQlggqMG6v0SqIdS8FTgc6gaiKMDaDJO7ugMF+jjqqGMpWhAlQu1mM12ejY519j1dlS54QqGYKukdCtauts4LpcTIjPCJodhpmJ8yJQnZdjuHfvrS7be2qJefZnFb4JkeemxGDfcU8zF+Q4cnc4tXuEMJLgmgkYJSUda8KNTFKRN8LGvxuP42xHyUG68c0iC5FRm8UG69F5G7+Ki8ZQF6pvjJt3dg13ZQ+N8E2PRxoz2izRnde7BFGROssBmaUtFg3HecmBhxVVupTe5p.BYrG+YMfMTFQUKG7.5knhpVdeZ+lUu32O3WKcDAZzAOD1Nk2a4+gt7iNjGHnrS2GK7j6q9iB5zjG3YSfPKiQbAkqqsjbxxn0lx0RinIg4Dt3ufOwLyKWqEyLeelnKWZE5US6z0kbH4bh2IwkUiVjN5bHm2oI848KT98u7kutTUbmtfIm3f+sROgH1CP6lH1OUppWuAn85ROg5HZqR.b9jmSTJECT+gqtt2UibuqoWoM2KvO1wFsX.GKbxTSQU8L+368s+xEIypBEcU5Jad3+E6QGrsG+o1QOCS1ccsPJv4lE9GBut99x0FC4YicnNzmZamVUWBXg4En07Br37Bby4E3VyKvObdAt8jAJ+Kw+3.AuSTGNDZ+F6F9dYMs9ujDZ1g9aPHHmrf
-
@Gab said in Why does it work like that?:
But why when you manually link to a button to something (button2) the script stop working?
You've assigned both a callback to Button2 and a processor ID in the property editor. HISE will prioritize the property editor assignment over the script. Use either a callback or the property editor, not both simultaneously
-
@Mighty23 Oh I see, thanks!