I managed to get the variables viewable when I tick “Inherited variables” in the blueprint details, but they still won’t show up normally. I’m using 4.6.1 version of the engine. Also, I’d like to add the uasset, but I think it would be kinda pointless. I tried creating a new fresh class and just adding that code to the class and it still doesn’t appear unless I tick Inherited variables. But it’s okay, I’ll have to be content with this.
Yes, I managed to make it appear, but it doesn’t appear as a regular variable as it is shown in many examples. I’d rather not have to tick the inherited variables thingy everytime I open a blueprint and I want to use its variables.
i just thought it could be complaining about “= 0”. You define your Property in Header and usually there is no need (in your case) to set your int32 = 0.
I would try it without it and just write: int32 SelectedCmd;
The variables won’t show up in the list unless you check ‘Show Inherited Variables’. This is normal / expected behaviour. Inherited Variables are all variables that come from the C++ file. You’ll see other variables in there not related just to Character class, but also to Actor, UObject etc.
They’ll also appear in the category you specify, which in your case is ‘New Status’.