I’m building a map from hex tiles. Each hex has its type: one of five letters or ‘A’, which means it’s type will be chosen automatically in Blueprint - a mix of its nearest neighbours.
For debug purposes, currently I’m printing either the type (D,F,M,S,R) or (for A) an array of neighbours.
I encountered a problem. Everything works OK straight after compiling the Blueprint, but gives strange results while in Simulate mode or after opening the project again.
What could be the cause of the problem? Is it possible that the errors result from querying all members of hex’s own class?
I attach 3 screenshots and the project.
Project (3 MB): http://oskarswierad.com/p/screeny/HexMapGen2_2.zip