Hey I have made a structure and in the game, like any structure, it shows who is the owner and personal owner but how can I get this info in event graph? I think I have tried everything. I tried a work around. I tried saving the owner on event begin play and it works when the player first hits the button for showing the structure but then once you place structure to a snap point it erases all the data, this happens on every structure I have tried, even the original core items. What happens is that Event Begin play actually fires twice, first when you first click the button for a structure, such as getting ready to place the structure, and second once you have actually place the structure and its during this second event firing that resets all the data. So is there no other way, has anyone else had issues with this? In addition, it’s also as if the reason the event fires twice is because the game is actually making a second structure/instance. I say this because when debugging I used get all actors of class and I watched the array for each event and it increases the instance number by 1 each time so its like I add one structure to the game yet the array increases the number of instances at puts it at 0. Quick example if that sounded confusing is if I use get actor owner and it gives me a long name, at the end there is a digit, like player1, player2, and so on. So if I add my first structure it should be at 1 and stay like that but when I place the structure to snap point/actually create it, the number will go up to 2 and store it at array. Don’t know if this is a bug or what but there has to be a way to get the info since the game always displays the owner of a structure.
Any help would be appreciated.