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"

I can't cast to my character

Hello,

My game was working quite well before I changed the name of my character blueprint. After a while I noticed that instead of having one character BP with that new name I gave, there seemed to be two characters one with the old name and another with the new name. I deleted the old one but this was propably a mistake..

Now the problem is that I can't cast to my character blueprint, the cast will always fail. Everything seems to be in order under the BP but the game is just not working anymore. Please see the picture attaced, this casting used to work without any problems.. until I changed the name of the character. Every time I try to cast it will fail. alt text

Thanks

Jani

Product Version: UE 4.12
Tags:
fail.png (68.2 kB)
more ▼

asked Jul 30 '16 at 09:55 PM in Blueprint Scripting

avatar image

D1me
26 3 5

avatar image xFREDx Jul 31 '16 at 12:39 AM

On your character BP there is a check box in the the details panel check that as on for the character you want to use I believe.

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

4 answers: sort voted first

change your default player pawn to that new one from game mode

more ▼

answered Jul 30 '16 at 10:44 PM

avatar image

saeedc
2.2k 61 27 85

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

Ok, thanks!

That helped me to right direction. There is still small issue, I don't know how to handle this. The character that is standing there on the left is used on a level blueprint as a reference. Now instead of using this character another one is spawned to the PlayerStart. How to use the original character on the left?

Thanks,

Janialt text

pic.png (257.6 kB)
more ▼

answered Jul 30 '16 at 11:52 PM

avatar image

D1me
26 3 5

avatar image saeedc Jul 31 '16 at 01:51 AM

I did not get you. but you must delete that playerstart if want the left character or you can possess that via player controller. get player controller then possess then use your character reference to be possessed by controller

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

Ok, thanks guys. Now I got it, I can control the character that I want. In Autoposses "under character details" I selected Player 0 instead of Disabled. Now I am able to Remove playerStart as well. This Autoposses used to be disabled before I renamed the character but things were working correctly anyway cause I used the sidescroller starter when I started the project. Everything was set correctly there as a default so I didn't need to figure that out myself.

Now evertyhing is almost like it used to be, only some collisions left to set and that should do it.

Thank guys!

alt text

character.png (136.6 kB)
more ▼

answered Jul 31 '16 at 09:52 AM

avatar image

D1me
26 3 5

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

I've run into this a couple times and I keep forgetting the issue, so this is like my second or third time on this thread and I still can't get over the fact that no one mentioned a single word about OP's hysterically creepy character. Autopossess player set to zero helped me when I copy-pasted a character from another project into my new one. So thanks again BabyRunner!!! xox

more ▼

answered Nov 03 '17 at 09:15 PM

avatar image

thenegaverse
16 1 2 5

(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