Hey, I’m just starting to test out visual logic in Xpressions and need some help with it.
Im trying to building a Vlogic script to have people’s names bring in a social media material for a quad. I have over 50 people, so it will be a mix for Facebook, Twitter and bluesky, etc. Im planning on using excel manage the data, but I’m not able to get the right logic to recognize multiple names. Any thoughts or suggestions?
Agree more detail needed, but also sounds like dynamic materials would be better than using Visual Logic.
https://www.rossvideo.com/resources/ross-university/datalinq-dynamic-materials-in-xpression/
Okay,
The overall is, when I have " John Doe" name entered in the Name Field, the Twitter Icon will appear next to this handle, or when " Jane Doe" name is entered the Facebook logo will appear next to her handle.
I have been trying to just trouble shoot it, and failing. I’m am trying to use the Name text object linked to String Match function block, for two social groups, but the logo materials don’t come in, To start I’m just using two logos, X and BlueSky, and I have three names for X and 3 names for BlueSky. When I have entered one of those names, it needs to match the name to logo and switch the material for the quad.
Oh I see what you are trying to do, I would something like this instead.
there’s a slight mistake in my version above, you should offset the input selector to start at 1 not 0 and have a default texture connected to 0
Or try Dynamic like Garner suggested
Yes that is what I am trying to do, I didn’t build this project, I’m trying to modify some of the logic with out changing to much. The problem I’m running into. Is because we will have over 50 different names, each one will need have a different social media account, I tried using the sting value, but I can’t get it to work with multiple values, is there away to add more than one name and to that function block?
Have you looked into dynamic materials?
Alternatively, you will need to write a loop and do it via script, when you get into high numbers script becomes better option.
I have never used those before, I was going to try that next, are they hard to use?
Easier than Visual logic and much eaiser than scripting.
Come back if you get stuck.