Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

When I set a cpp game mode as Default GameMode, i can't set Default pawn class, but a blueprint game mode can. why..

I create a cpp third-person project, i create a new cpp character class, and i want to set it as my default pawn class. And then i find when the Default GameMode is the cpp game mode class, i can not set the default pawn class with my new character class. So i try to create a blueprint game mode class inherit from the cpp game mode. When i choose the blueprint one as my Default GameMode, i find that i can set the default pawn class with any character class. So, could anyone help me to figure it out why it could be this.Thanks!

alt text

alt text

Product Version: UE 4.19
more ▼

asked Aug 07 '18 at 11:56 PM in C++ Programming

avatar image

10 1 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Because that is a shortcut to editing the currently selected blueprint. The c++ settings cannot be modified in the UE4 editor.

An easy workaround is to create a Game Mode Blueprint, and under Event Graph->Class Settings change the parent class to your c++ file. This will allow you to use both the C++ GameMode but also the blueprint dropdown boxes.

more ▼

answered Aug 08 '18 at 07:25 AM

avatar image

51 1 6 6

avatar image guicaisa Aug 08 '18 at 02:00 PM

Thank you very much! I know more about ue4 now

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question