So after mucking about with different stuff I found that I could make a struct to hold some data I want.
Basic data for a tile (x, y, a* scores and parent x,y)
So I was following the procedural videos from Epic and then all of a sudden he just went and now I have a full game gj team we succeeded… but I digress.
I’m trying to just set the x/y of the tile when I am filling the array but this apparently doesn’t work cause later the xy are just 0.
I tried putting it with another for loop just to check if it would work but to no avail…Wondering if someone can take a look and see what I’m doing wrong because it’s probably something stupidly easy but I just have no starting point of what is wrong with BP’s…
I do realize that in this case I could just use the coords I get from the / % to put the stuff in the right place but it won’t help me later if I can’t get the coords/tile type out of the array which is what I’m trying to fix…
The Determine function there isn’t fully fleshed out, I just started it for one wall to see if it would work (before going for the other 3 boundary walls).
Should just see if it’s the x = 0 wall for now and change it to another model but it’s not doing that either…
So doing the set on the Array Elem won’t do what I was lead to believe then Guess I’ll go and try to stop being dumb …be back later if it doesn’t work haha.
K well I guess I just need to change how I think in BP’s.
Got it working now but it’s still very strange to me that you can have a struct of stuff in an array and the set by ref doesn’t work on it…Guess I’ll just do it by array element from now on