x

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"

Setting blueprint controller class for player

Hi guys,

I am working currently on the cpp first person template, and as far as I understand, it uses standard player contoller class. In the generated cpp code I can not find the controller class settings. I only have the following bindings in the custom Pawn class: alt text

What I would like to have is a custom blueprint player controller class, which I can easily modify in editor, e.g. adding new inputs on the fly. Such blueprint exists in third person blueprint-only template: alt text

How do I create that custom blueprint controller, and, most importantly - how do I bind it to my Pawn in cpp code?

Product Version: Not Selected
Tags:
hfdghbsdfb.jpg (50.9 kB)
fasgfg.jpg (57.1 kB)
more ▼

asked Apr 12 '14 at 07:08 PM in C++ Programming

avatar image

Lordink
234 47 54 61

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

1 answer: sort voted first

Wiki Tutorial

I have a tutorial on exactly this subject here:

Enjoy!

https://wiki.unrealengine.com/Game_Mode,_Linking_to_Player_Controller_Blueprint

Rama

PS: the pawn will get binded to the correct PC class automatically via above method

more ▼

answered Apr 12 '14 at 09:12 PM

avatar image

Rama
10.6k 446 346 1088

avatar image Lordink Apr 12 '14 at 09:42 PM

Thanks, man, can't believe I overlooked it :)

(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