Download

I am sort of new to this I have a question.

Hello I have been studying UnrealScript and I am re-learning C++ It has been a long time since I programmed in C++ at least 15-20 years ago. I was going through one of the programming tutorials and I was wondering is the constructor used the same as the defaultproperties in unrealscript and if I wanted to make a class that extended the Actors class would this

defaultproperties
{
Begin Object Class=SkeletalMeshComponent Name=WPawnSkeletalMeshComponent
bCacheAnimSequenceNodes=FALSE
}
be done in the constructor?

I am trying to wrap my head around this it feels funny trying to hop back in there and relearn C++ 11 and learning how to use it within the frame work of the UE4 engine. But here’s to grinding.

The constructor is very much like the old defaultproperties block, and creating components would indeed generally be done there.

Hey thanks for the quick response.

I would also check out source like Character.h and Character.cpp for more information.