Hello,
I was wondering if anyone could provide some pointers on how to get something similar to a queue working in blueprints, since queue doesn't exist in them. Specifically I'm trying to recreate a simple breadth first search and keep running into infinite loop errors when trying to use an array with while lastindex != 0, get index 0 ->set current ->remove index item at 0 -> continue with code. It also seems unreal really doesn't like having a blueprint class call the same function within the function using a foreach loop or while loop. I've seem to hit a wall in trying to find examples online of doing a breadth first search without having queue functionality in blueprints.
Any help or links to getting a breadth first search example going would be much appreciated!
I was wondering if anyone could provide some pointers on how to get something similar to a queue working in blueprints, since queue doesn't exist in them. Specifically I'm trying to recreate a simple breadth first search and keep running into infinite loop errors when trying to use an array with while lastindex != 0, get index 0 ->set current ->remove index item at 0 -> continue with code. It also seems unreal really doesn't like having a blueprint class call the same function within the function using a foreach loop or while loop. I've seem to hit a wall in trying to find examples online of doing a breadth first search without having queue functionality in blueprints.
Any help or links to getting a breadth first search example going would be much appreciated!
Comment