How can I work with items of static mesh array?
Hi. I want to know how can I work with items of static mesh array. For example, change visibility of specific item, especially switch material of specific item. Thanks.
asked Oct 22 '15 at 08:28 AM in Blueprint Scripting
If you have an array of static meshes, you have to determine the index of the static mesh you want to manipulate.
If you already have your index, then you can use the array get node and supply your index, and then you can use things like Set Visibility on that resulting node.
If you don't have your index, you have to figure out the logic for determining said index. If you want a mesh with a certain name for example, you can run a for each loop with break and check every element to see if it matches your condition, i.e. contains your specified name. If it matches, you can then do what you want to do with that array element.
answered Oct 22 '15 at 02:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here