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"

Cannot Cast MyCharacter from anywhere

I am trying to Cast the MyCharacter blueprint from a HUDwidget in order to get my variables. I cannot get any reference to MyCharacter and I have no idea why.

I also have tried to cast it directly in MyGame and it simply doesn't work. Can anyone help me?

my_game_character_casting

Product Version: Not Selected
Tags:
castbug_02.png (137.8 kB)
more ▼

asked Nov 13 '14 at 08:10 PM in Blueprint Scripting

avatar image

Jbenoitleroux
96 4 8 120

avatar image Jbenoitleroux Nov 13 '14 at 08:12 PM

It doesn't work even if I remove context sensitive.

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

1 answer: sort voted first

Damn, it was only due to my usage of the experimental BP menuing system.

alt text

castanswer_02.png (86.4 kB)
more ▼

answered Nov 13 '14 at 08:17 PM

avatar image

Jbenoitleroux
96 4 8 120

avatar image eXi Nov 13 '14 at 08:18 PM

You can read about this issue here:

https://answers.unrealengine.com/questions/42595/no-option-to-cast-object.html

Normaly enabling "Use New Blueprint Menuing System" should fix it.

This was fixed for 4.6 already.

(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