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"

Cast Failed

Hi Everyone :)alt text i have a problem, everytime i try to change the size of a capsule inside "MyCharacter" it doesn´t work... The Capsule is supposed to change its size if i press "X", but instead the "cast failed" is activated which doesn´t do anything too

it would be great if someone could help me :)

Product Version: Not Selected
Tags:
cast_failed.png (115.2 kB)
more ▼

asked Aug 26 '14 at 11:46 AM in Blueprint Scripting

avatar image

BeeHive
156 22 30 37

avatar image Xenome Aug 26 '14 at 11:50 AM

Does it work if you plug a reference to your character object into the cast node's Object input pin?

avatar image BeeHive Aug 26 '14 at 11:57 AM

Hi Xenome, thanks for the quick reply :D

do you mean it like this? alt text

it doesn´t work :(

node.png (20.1 kB)
avatar image Xenome Aug 26 '14 at 12:09 PM

What's the context here? I mean, are you trying to do this in a Level BP, some character BP, or something else?

avatar image BeeHive Aug 26 '14 at 12:18 PM

i am trying to do this in a level blueprint, sorry that i forgot to mention this ^^"

avatar image ymars STAFF May 24 '16 at 05:51 AM
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You need to connect an object to the cast. I am not at my PC right now and can't make a screenshot, but if this is a 3rd or first person shooter you need to call get player pawn or get controlled pawn or something like that and connect it to the object input pin. Otherwise you need to get a direct reference to this pawn somehow. Can't say for certain without seeing more of your blueprints.

more ▼

answered Aug 26 '14 at 12:10 PM

avatar image

Algirdyz
143 11 12 18

avatar image BeeHive Aug 26 '14 at 12:27 PM

Hi Algirdyz, you saved my day :D the get player character did the trick for my :)

alt text

lb.png (427.3 kB)
(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