Get All Socket
Hello everyone !
I'm making a turret with multiple barrels (Approx. 10), and I need to get all the socket that I created with the "Add Socket" function in the Skeleton mode of my turret, to spawn my projectile from all the canons. I need it to be automated, as there will be different version of this turret, with more or less barrels. So basically what i need is a "Get All Socket by Name" and then filter them to feed an array with only socket containing "Barrel_". The thing is, I know there is a function called Get All Socket by Name, but for some reason, it seems I cannot filter it, with either "Contains" for an array, or this method. Also, the Get All Socket by Name does not get Socket, but all bones of my Skeletal Mesh.
Thanks for anyone able to help !
asked Oct 24 '18 at 08:08 AM in Blueprint Scripting
Get All Sockets by Name, then loop them, for each one of the sockets, run them through a branch check if (Socket Name = Barrel) then do something.
answered Oct 24 '18 at 08:11 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here