Changing Selected Sample Maps With Buttons
-
@ulrik Yeah It Works Just Fine, Just Checking To Make Sure That Nothing Going To Break ️️️️️ Thanks A Ton
-
@ulrik Ulrik, could You Please Help me With A Random Button For This Script?
HiseSnippet 2178.3oc4Y8taabiDeW6rIwp1AsE8.5WJ.gPwAIXWEoDmzh5jFYo3TXb1IBVtAGtTidz6RIw5cI2xkxIpAEnOG2mtObO.2avkGk6QHuA2Mj6tZ4tdkrhPcawc5C1hjyL727ONbn5I3tjnHtvxdsimDRrrW2o+DlbT2QXJyZ+GaYeKmCwQRh.EOUmIg3nHhmks8pesZB60tlk9yaeTGrOl4Rxlxx54bpK4.Z.UlMau1+Ipu+SvdjioAFTuc68c4rtbe9X.Oq5zzJD6dFdH4oXEYq3XYe887nRtnuDKIQV1WqC2aR+Q7Wxho+4zH5o9D0fVV8AAEO8S39dJDql0p6HpuWuT8Nxxx1oWlUX0XqvG4bH0iNc9Lqw6qW.kwgo8vdk4AuVlvq4hCOaC3csX38AN8cEzPY1JJr8dN6y.G0.L3BLgULsVq7OV2oKGnfIaDfOi7DALXJG0teylagtWyl02YiJaTAbDQRz4XA54TxKC4B4tnGhRYeHQ1kGDxYvfZUmRQ0h71GGD5CgNODoCpT7kLUspIeQySFGcAK2PtXRGIKBX6Ekui8nXFOpZ8s1nBZleJm0ti3TwxwZOr2xwXGhuOv4IZqio1p0iXCwg3vHUbtVqOYGkvt8sQndrbVGE3mK8cGkS9.hmI4wx2yjdMPmq763GqCC3BTMJrVycPTzCPaC+ayMquQkWGadJSyZDNNZDXFYnpahBwhHBD8UitYqFMqqhBzFvRzvD95NBUEMSFKQUS2Ou4wWYpbBic7KmwJ+TduHvmlscEB7Dk4pLkeqRUMifoRTfsJEcmrSFS4b1Bx4Ok7J4kj5.TEKvkJTVsAorGGOWN2aTgx7oLBZvXlqjxYH3jcibakzEb+ZtohdKPG7GSxhfnCP0RmRM90YakO2E6inLOxqTGJYH1F5Ie1fL4VOm0J8aSOxpQDAzJpjDDUcq7dx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Y+gCItxL.tlyi952Nunso3+3SRJgIED7DJaTbqxZLTwIYzu.+TCAK7O0.DvoaNNWYnW2o6TvDIxO6+piVT6MgOkkSVw.+XR.AKAubt66b7w5juhT8SOPGSbh.tCJXILW3ILBXpkl5XOAOLbHnNZdEZtT+ohQJaU1LGStfHByO2imNAb2LFzKWRw5uJjnbuTW3J5BZtaMnkRqSvZW7JNQiaWX7sKL9NEFucgw2sv36UX7mkMN8YSTAFpe+mBW2c8E65t.C5iAU1XmcoiRYdzLWyORz5+l6GI52AGLl62wpRBFGPUF98YW.YbvLJL9AvkcGhm5KSlscNTdDmwCFyYT27w2wuDpI1KUg1SJgzqrY9vNGS7I3PiDz+bmCgtswh7osuQ1h1uw+ldk5u9HmH3hTGYg98aAsU+CSAs4YhtUb4LDHQnIse64Cuoi9TWjpH4ulv6X9TITvKoniCTYZ.TM1kXVeZEUMunwsTiUfX.g4oG7+fOwK1NoXlZw1IKZ4lvJPeh+tt8a6Uitpp9dW9PYReyPzPnluBRPAmeUP4Drqf+ctQOqfBq2POCfRVba1GoFiZm7dBNNsZ1xZBTi46bci6kxpbZt8RPycVBZ1dIn4tKAM2aIn4yVBZ9qykFU488lJ4ShNzCln+9QAV16mFXsp0+GvOe2p9
-
@ulrik You're A GOD
Amazing -
@ulrik
Ulrik,
Have you noticed That, By Selecting a New Category, Then Clicking on Compile, A New Sample Map Gets Selected?
Even if You Don't Choose Any from Viewport?Is there any Chance to Improve this? Kinda Storing the last Selected Sample map, and recalling it If Nothing selected from A New Category?
Thanks a lot Legend
-
@natan so you don't want it to select a map if changing category?
-
Have You Tested The Script again? Just Select a Category, But Dont Select any Maps from viewport, and Hit compile.
It loads a map from viewport from last Clicked category.I need this As Is, But Once you hit compile, viewport and Cat button gets back to last selected, is that makes sense?
-
@natan said in Changing Selected Sample Maps With Buttons:
It loads a map from viewport from last Clicked category.
So you don't want that to happen?
-
@ulrik Yes sir
-
@natan sorry I can't answer that, maybe some other can help you?
-
@natan What if you disable "saveInPreset" on the Viewport?
-
@ulrik Thanks Ulrik, disabling "saveInPreset" Helps to Not Load a new Sample map :)
BTW, the only Thing I See here is that Viewport Still stays at Category that Sample map not chosen from.