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"

No Cast to MyCharacter

So im trying to follow a tutorial on making a simple loading screen, though there is no option to cast to my character and casting to character just results in errors, am I doing something wrong? alt text

Product Version: Not Selected
Tags:
screenshot_2.png (37.7 kB)
more ▼

asked Mar 14 '15 at 09:18 PM in Blueprint Scripting

avatar image

Neuroslay
1 2 4 4

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

1 answer: sort voted first

Hey (: Make sure you click on the little Check box on the upper right corner saying "Context Sensitive".

Also the Cast Nodes will only be available if you drag the "Other Actor" pin into an empty space of the event graph.

more ▼

answered Mar 14 '15 at 10:42 PM

avatar image

eXi
6.8k 333 185 468

avatar image Neuroslay Mar 15 '15 at 01:08 AM

I've tried that, sadly it wont show up alt text

screenshot_3.png (44.6 kB)
avatar image eXi Mar 15 '15 at 01:21 AM

Ok, then we need to go through a small check list:

  • What version of the engine are you using?

  • Please press "Compile" on the upper left corner for your current BP and the Character BP

  • Make sure that your Character BP doesn't have any spelling errors

  • Does this also appear in a new and fresh created BP?

  • Can you find the "Cast to MyCharacter" in other BP then the one you are showing me?

  • If yes, can you try copy pasting the Cast Node into that BP?

avatar image Neuroslay Mar 15 '15 at 01:26 AM
  1. Unreal Engine 4.7.2

  2. Done so, no changes at all

  3. Not sure what you mean by that

  4. Doesnt appear in any new blueprints

  5. Nope I think the engine just hates me.

avatar image eXi Mar 15 '15 at 01:33 AM

Ok, does this error appear in a new project?

If not, then we can narrow it down to that specific project.

Can you also try to create a second Character BP, compile it and try to search its Cast to node? Maybe only the MyCharacter BP is broken (:

avatar image Neuroslay Mar 15 '15 at 01:45 AM

Both dont work, is there maybe another way to handle a simple loading screen that doesnt need the cast to mycharacter?

avatar image eXi Mar 15 '15 at 01:52 AM

Haven't created a loading screen yet. But that you can't cast your Character BP is a bit strange.

You also didn't answer my question about the new create test project (:

avatar image Neuroslay Mar 15 '15 at 02:21 AM

I created a new project with the first person template and still didn't work

avatar image eXi Mar 15 '15 at 10:20 AM

Ok now it is getting weird. :D

Please make sure that you did this the same way:

"Add New" -> "Blueprint Class" -> "Select Character":

asd

  • "Name it MyCharacter"

wewe

  • "Save and compile the new BP" -> "Go into a different BP, like the PlayerController" -> "Get Player Character" -> "Try to find the Cast to MyCharacter here":

asdww

If you don't get the Cast to here, then i would recommened you to verify your Engine Installation:

aswww

Or maybe redownload it completely. If this still doesn't fix the error, please create a new Question with all information you have gathered here in the "Bug Reports" section of the AnswerHUB.

avatar image Neuroslay Mar 15 '15 at 05:18 PM

Yes it worked, thank you!

avatar image eXi Mar 15 '15 at 05:35 PM

Are all you problems solved now? Then i will mark this question as resolved.

avatar image Neuroslay Mar 15 '15 at 07:33 PM

I am having another cast related problem if you could help me with it, for some reason the cast to myhud fails

alt text

new canvas.png (116.9 kB)
avatar image eXi Mar 15 '15 at 07:59 PM

Did you set your "MyHUD" to your Default HUD Class in the Project Settings?

avatar image Neuroslay Mar 15 '15 at 08:14 PM

Dont think so, how would I go about doing that?

avatar image eXi Mar 15 '15 at 08:35 PM

On the upper left corner of the Editor, there is the tab "Edit".

There you selected "Project Settings":

awwsss

Now you click on "Maps & Nodes" on the left side:

sdasw

And here you select your MyHUD Bp under "HUD Class":

www

If you can't edit it, you need to create a GameModeBP the same way you create the other BP by choosing "GameMode" in the list.

After that you add the GameModeBP in the same window where you should add the HUD Class. After that you can add the HUDClass too.

avatar image Neuroslay Mar 15 '15 at 08:58 PM

It worked! Thanks again for helping me, Just need to figure out how to save the score and pickups when changing levels and making triggers only work when you reach a certain score.

(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