Is there a way to have spreadsheet table of all set variable values?
Disclaimer: I'm quite new to UE4, so it's entirely possible that this already exists somewhere, and that I haven't found it, or that technical limitations make this impossible.
What I am referring to is some sort of debug window with a spreadsheet style of table where all the user created variables are listed. This list gets populated with values when gameplay begins. The variables could be grouped under their respective actor, similar to the Scene Outliner, and it could have a searchbar to filter down to the ones you are interested in. The values would be colored in accordance with the blueprint colors for the different variable types.
When testing with multiple players, each player gets his own column in this table, and values that are the same across all columns get a green background color so you easily can see which variables are replicated properly.
This would in large part replace the current method of debugging where one has to create a print string node in a blueprint, convert the variable to a string and hook it up to the print node. (Or right click and watch variables, which might be easier, but still not as easy as a table where all variables are automatically listed with their values across all clients).
Hi Acriax. I asked around a bit and, while there does not appear to be anything exactly like what you described available, there are several debugging options that allow you to fairly easily watch the values of variables as they change.
While playing in the editor (PIE), you can enter the console command
Another option you can use if a property is editable, is to run PIE, then eject and select whatever you want to observe, then go back into PIE. You will be able to see (and modify) the values of the properties for the selected actor in the Details panel.
A final option, if you are using Blueprints, would be to right-click on the variable in the graph that you would like to observe and select "Watch this value". Then, while in PIE, you can watch the Blueprint graph and see the value of that variable displayed above it (make sure you have the Blueprint selected in your Blueprint Debug Filter).
One of the developers that I got some input from seemed to like your idea of a spreadsheet type of approach to this, though I am not sure if that will ever be implemented in the Editor. If none of the options I mentioned above really work for you, you may have to create a Blueprint yourself that will keep track of all of the variables you want to track. There would be several ways to implement that, though I am not sure how efficient they would be and you would most likely want to make sure to strip that out before packaging your game.
answered May 14 '14 at 01:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here